]> git.phdru.name Git - bookmarks_db.git/blobdiff - bkmk-rsync
Write icon's URIs.
[bookmarks_db.git] / bkmk-rsync
index 330b1d329d43df9941dc2e104fd5f78f514f0438..cc7034d5badf2d3893bec4c9acbcf677ea382597 100755 (executable)
@@ -1,15 +1,11 @@
 #! /bin/sh
 
-remote_server=sun
-
 PATH=$HOME/lib/bookmarks_db:$PATH
+umask 077
 
-cd "$HOME/work"
-mz2ns
-mv bookmarks.html "$HOME/.netscape/bookmarks.html"
-
-exec rsync -vz "$HOME/.netscape/bookmarks.html" "$remote_server:.netscape" # && \
+bkmk2db || exit 1
+db2bkmk.py || exit 2
+diff $HOME/.mozilla/bookmarks.html bookmarks.html > diff.out
 
-#rsync -vz "$HOME/Internet/WWW/phd.pp.ru/Bookmarks/bkmk-koi.html" \
-#           "$HOME/Internet/WWW/phd.pp.ru/Bookmarks/bkmk-win.html" \
-#   "$remote_server:Internet/WWW/phd.pp.ru/Bookmarks"
+distribute -r .mozilla bookmarks.html
+exec mv bookmarks.html "$HOME/.mozilla/bookmarks.html"