X-Git-Url: https://git.phdru.name/?p=bookmarks_db.git;a=blobdiff_plain;f=bkmk-rsync;h=4754f05776d2bc410e45f64bec7105b6abe67d3d;hp=8e87e12b955f45014b14b156760befed5b78922a;hb=HEAD;hpb=44a2f67461f69b14bb4f6695b0afd29927eef3aa diff --git a/bkmk-rsync b/bkmk-rsync index 8e87e12..4754f05 100755 --- a/bkmk-rsync +++ b/bkmk-rsync @@ -3,19 +3,16 @@ # # 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) 2000-2011 PhiloSoft Design" +# __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design" # __license__ = "GNU GPL" -PATH=$HOME/lib/bookmarks_db:$PATH +. "`dirname \"$0\"`"/set-path umask 077 bkmk2db || exit 1 db2bkmk.py || exit 2 diff $HOME/.mozilla/bookmarks.html bookmarks.html > diff.out -distribute -r .mozilla bookmarks.html +distribute -a -r .mozilla bookmarks.html exec mv bookmarks.html "$HOME/.mozilla/bookmarks.html"