]> git.phdru.name Git - bookmarks_db.git/blob - bkmk-rsync
Fix(Robot): Stop splitting and un-splitting URLs
[bookmarks_db.git] / bkmk-rsync
1 #! /bin/sh
2 # Synchronize bookmarks with remote workstations
3 #
4 # This file is a part of Bookmarks database and Internet robot.
5 #
6 # __author__ = "Oleg Broytman <phd@phdru.name>"
7 # __copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design"
8 # __license__ = "GNU GPL"
9
10 . "`dirname \"$0\"`"/set-path
11 umask 077
12
13 bkmk2db || exit 1
14 db2bkmk.py || exit 2
15 diff $HOME/.mozilla/bookmarks.html bookmarks.html > diff.out
16
17 distribute -a -r .mozilla bookmarks.html
18 exec mv bookmarks.html "$HOME/.mozilla/bookmarks.html"