X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bkmk-rsync;h=4754f05776d2bc410e45f64bec7105b6abe67d3d;hb=d594d5acd1c256017e0343ba7910a127a319e2bd;hp=cc7034d5badf2d3893bec4c9acbcf677ea382597;hpb=d0f47ac661a125eb9f7bf45536e22df59b97e61e;p=bookmarks_db.git diff --git a/bkmk-rsync b/bkmk-rsync index cc7034d..4754f05 100755 --- a/bkmk-rsync +++ b/bkmk-rsync @@ -1,11 +1,18 @@ #! /bin/sh +# Synchronize bookmarks with remote workstations +# +# 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 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"