]> git.phdru.name Git - bookmarks_db.git/blob - bkmk-set
Version 3.4.1. Split bookmarks into the private master copy of the home page.
[bookmarks_db.git] / bkmk-set
1 #! /bin/sh
2
3 umask 077
4
5 cd $HOME/work && \
6 bkmk-koi -c && \
7 mv public-koi.tmp bkmk-koi.html && chmod a+r bkmk-koi.html || exit 1
8
9 echo "Splitting bookmarks..."
10 cd $HOME/Internet/WWW/phd.pp.ru/html/Bookmarks && \
11 rm -rf split || exit 1
12
13 $HOME/lib/bookmarks_db/hotexplode.pl -o split $HOME/work/bookmarks.html && \
14 cp -p ../../../misc/nopasswd-index.html split/privatelinks/index.html || exit 1
15
16 cp -p $HOME/work/bkmk-koi.html bookmarks.html && chmod -R a+rX . || exit 1
17
18 #/usr/local/htdig/bkmk.sh
19
20 cd $HOME/work && \
21 exec rm -f header bookmarks.err bookmarks_db.pickle bookmarks_db.flad \
22    private-win.tmp public-win.tmp bookmarks.html bookmark.ht0 bookmark.ht1 bkmk-koi.html
23
24 #zip -9 bkmk bkmk-koi.html bkmk-win.html && \
25 #rm -f bkmk-win.html && \
26 #cp -p bookmark.ht1 bkmk-win.html || exit 1