X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bkmk-add;h=01f403cfad85d187ea1a78a5f338decde93f55ab;hb=a3bdba992715f6282e112e06a2beee15d20b69ca;hp=4b4568b5803d61cd550a8a2926edae020339d99c;hpb=fb5c3b2b91aeeb615d6d6d890491af3fdff69556;p=bookmarks_db.git diff --git a/bkmk-add b/bkmk-add index 4b4568b..01f403c 100755 --- a/bkmk-add +++ b/bkmk-add @@ -1,9 +1,16 @@ #! /bin/sh +# Add a bookmark directly to the DB +# +# This file is a part of Bookmarks database and Internet robot. +# +# __author__ = "Oleg Broytman " +# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design" +# __license__ = "GNU GPL" -PATH=$HOME/lib/bookmarks_db:$PATH +. "`dirname \"$0\"`"/set-path bkmk2db || exit 1 -bkmk-add.py "$@" && \ -db2bkmk.py && \ +bkmk-add.py "$@" && +db2bkmk.py && exec touch bookmarks_db.pickle # to make it more recent