X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bkmk-rsync;h=8e87e12b955f45014b14b156760befed5b78922a;hb=f51dfd36f4fa565860ec20eb9f5c5fdac937276e;hp=e0830ac69a2fec25a1314b5c1c087f47b7bcf81e;hpb=4d631df79afa38de847bcab6b2cae543d3ca38da;p=bookmarks_db.git diff --git a/bkmk-rsync b/bkmk-rsync index e0830ac..8e87e12 100755 --- a/bkmk-rsync +++ b/bkmk-rsync @@ -1,11 +1,21 @@ #! /bin/sh +# Synchronize bookmarks with remote workstations +# +# 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" +# __license__ = "GNU GPL" PATH=$HOME/lib/bookmarks_db:$PATH umask 077 bkmk2db || exit 1 db2bkmk.py || exit 2 -diff $HOME/Desktop/bookmarks.html bookmarks.html > diff.out +diff $HOME/.mozilla/bookmarks.html bookmarks.html > diff.out -distribute -r Desktop bookmarks.html -exec mv bookmarks.html "$HOME/Desktop/bookmarks.html" +distribute -r .mozilla bookmarks.html +exec mv bookmarks.html "$HOME/.mozilla/bookmarks.html"