Batterie de script servant à synchroniser du contenu web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. echo "\nInstalling"
  3. echo "=========="
  4. echo "\nAuthor : nas"
  5. echo "Last Modification . 25/03/2021"
  6. echo "\nInstalling dpendencies"
  7. echo "------------------------"
  8. cpan install DBD::SQLite Switch String::Escape
  9. cpanm -f HTML::WikiConverter::Markdown
  10. echo "\nCreating database"
  11. echo "-------------------"
  12. touch history.db
  13. sqlite3 -line history.db '
  14. CREATE TABLE visit(
  15. url VARCHAR(128) NOT NULL,
  16. date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
  17. signature VARCHAR(128)
  18. );
  19. CREATE TABLE strategy(
  20. )
  21. '