X-Git-Url: https://git.phdru.name/?p=bookmarks_db.git;a=blobdiff_plain;f=bkmk-add;h=01f403cfad85d187ea1a78a5f338decde93f55ab;hp=4b4568b5803d61cd550a8a2926edae020339d99c;hb=96e39d55c791326368ff14d538850e14ba5a2c97;hpb=fb5c3b2b91aeeb615d6d6d890491af3fdff69556 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