#! /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" . "`dirname \"$0\"`"/set-path umask 077 bkmk2db || exit 1 db2bkmk.py || exit 2 diff $HOME/.mozilla/bookmarks.html bookmarks.html > diff.out distribute -a -r .mozilla bookmarks.html exec mv bookmarks.html "$HOME/.mozilla/bookmarks.html"