X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=bkmk-chk;h=8f9ddeafde678989e7c63acb2ee90824cc376c5c;hb=832eb757ef7f81abf1e431ce16f368c10dd57962;hp=3d71d3d7aeff7bd5f1c22074cc7adaee68b53658;hpb=ddd8c6c825e4a0f712504e34fb0254bfbf487f98;p=bookmarks_db.git diff --git a/bkmk-chk b/bkmk-chk index 3d71d3d..8f9ddea 100755 --- a/bkmk-chk +++ b/bkmk-chk @@ -1,8 +1,23 @@ #! /bin/sh +# Check bookmarks +# +# Convert bookmarks to DB, check URLS from the DB and convert DB +# to different formats and back to bookmarks. +# +# This file is a part of Bookmarks database and Internet robot. +# +# __version__ = "$Revision$"[11:-2] +# __revision__ = "$Id$"[5:-2] +# __date__ = "$Date$"[7:-2] +# __author__ = "Oleg Broytman " +# __copyright__ = "Copyright (C) 2001-2010 PhiloSoft Design" +# __license__ = "GNU GPL" -PATH=$HOME/lib/bookmarks_db:$PATH +PATH="$HOME/lib/bookmarks_db:$PATH" -bkmk2db && \ +ln -s "$HOME"/Desktop/bookmarks-*.json bookmarks_db.json && \ +BKMK_STORAGE=json convert_st.py pickle && \ +rm bookmarks_db.json && \ check_urls.py && \ check_urls.py -e && \ @@ -14,4 +29,5 @@ check_title.py > check_title.txt && \ bkmk-sort && \ # Write results to the bookmarks files +convert_st.py json && \ exec db2bkmk.py