PATH=$HOME/lib/bookmarks_db:$PATH
STARTDIR="`pwd`"
-bkmk-koi -c && \
-mv public-koi.tmp bkmk-koi.html && chmod a+r bkmk-koi.html || exit 1
+db2bkmk.py -p "Private links" -o bookmarks.html || exit 1
echo "Splitting bookmarks..."
cd $HOME/Internet/WWW/htdocs/phd.pp.ru/Bookmarks && \
rm -rf split || exit 1
-$HOME/lib/bookmarks_db/hotexplode.pl -o split $STARTDIR/bookmarks.html && \
-cp -p ../../../misc/nopasswd-index.html split/privatelinks/index.html || exit 1
-
-cp -p $STARTDIR/bkmk-koi.html bookmarks.html && chmod -R a+rX . || exit 1
-
-#/usr/local/htdig/bkmk.sh
-
-cd $STARTDIR && \
-exec rm -f header bookmarks.err bookmarks_db.pickle bookmarks_db.flad \
- private-win.tmp public-win.tmp bookmarks.html bookmark.ht0 bookmark.ht1 bkmk-koi.html
-
-#zip -9 bkmk bkmk-koi.html bkmk-win.html && \
-#rm -f bkmk-win.html && \
-#cp -p bookmark.ht1 bkmk-win.html || exit 1
+mv $STARTDIR/bookmarks.html . && \
+hotexplode.pl -o split bookmarks.html && \
+chmod -R a+rX . && \
+exec rm -f bookmarks_db.pickle
--- /dev/null
+#! /bin/sh
+
+umask 077
+PATH=$HOME/lib/bookmarks_db:$PATH
+
+STARTDIR="`pwd`"
+bkmk-koi -c && \
+mv public-koi.tmp bkmk-koi.html && chmod a+r bkmk-koi.html || exit 1
+
+echo "Splitting bookmarks..."
+cd $HOME/Internet/WWW/htdocs/phd.pp.ru/Bookmarks && \
+rm -rf split || exit 1
+
+$HOME/lib/bookmarks_db/hotexplode.pl -o split $STARTDIR/bookmarks.html && \
+cp -p ../../../misc/nopasswd-index.html split/privatelinks/index.html || exit 1
+
+cp -p $STARTDIR/bkmk-koi.html bookmarks.html && chmod -R a+rX . || exit 1
+
+#/usr/local/htdig/bkmk.sh
+
+cd $STARTDIR && \
+exec rm -f header bookmarks.err bookmarks_db.pickle bookmarks_db.flad \
+ private-win.tmp public-win.tmp bookmarks.html bookmark.ht0 bookmark.ht1 bkmk-koi.html
+
+#zip -9 bkmk bkmk-koi.html bkmk-win.html && \
+#rm -f bkmk-win.html && \
+#cp -p bookmark.ht1 bkmk-win.html || exit 1
#! /bin/sh
PATH=$HOME/lib/bookmarks_db:$PATH
+umask 077
-mz2ns
-mv bookmarks.html "$HOME/.netscape/bookmarks.html"
+bkmk2db || exit 1
+db2bkmk.py || exit 2
+diff $HOME/.mozilla/bookmarks.html bookmarks.html > diff.out
-exec distribute -r .netscape "$HOME/.netscape/bookmarks.html"
+distribute -r .mozilla bookmarks.html
+exec mv bookmarks.html "$HOME/.mozilla/bookmarks.html"
--- /dev/null
+#! /bin/sh
+
+PATH=$HOME/lib/bookmarks_db:$PATH
+
+mz2ns
+mv bookmarks.html "$HOME/.netscape/bookmarks.html"
+
+exec distribute -r .netscape "$HOME/.netscape/bookmarks.html"
#! /bin/sh
PATH=$HOME/lib/bookmarks_db:$PATH
+umask 077
bkmk2db || exit 1
-umask 077
BKMK_FORMAT=NETSCAPE db2bkmk.py || exit 2
sed -e 's/</</g' -e 's/>/>/g' -e 's/"/"/g' -e 's/&/\&/g' \
bookmarks.html >_tmp.$$ && \
mv _tmp.$$ bookmarks.html
+
exec diff $HOME/.netscape/bookmarks.html bookmarks.html > diff.out