]> git.phdru.name Git - bookmarks_db.git/blob - bkmk-chk
Add ChangeLog
[bookmarks_db.git] / bkmk-chk
1 #! /bin/sh
2 # Check bookmarks
3 #
4 # Convert bookmarks to DB, check URLS from the DB and convert DB
5 # to different formats and back to bookmarks.
6 #
7 # This file is a part of Bookmarks database and Internet robot.
8 #
9 # __author__ = "Oleg Broytman <phd@phdru.name>"
10 # __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
11 # __license__ = "GNU GPL"
12
13 . "`dirname \"$0\"`"/set-path
14
15 ln -s "$HOME"/Desktop/bookmarks-*.json bookmarks_db.json &&
16 BKMK_STORAGE=json convert_st.py pickle &&
17 rm bookmarks_db.json &&
18
19 check_urls.py &&
20 echo '' &&
21 check_urls.py -e &&
22
23 # Report results
24 BKMK_WRITER=flad db2bkmk.py &&
25 check_dups.py -s -l bookmarks.err >/dev/null &&
26 check_title.py > check_title.txt &&
27 bkmk-sort &&
28
29 # Write results to the bookmarks files
30 convert_st.py json &&
31 exec db2bkmk.py