From a5d0559be2a8e1ea8d130632fc1be52e0b36a067 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 28 Jul 2003 12:30:47 +0000 Subject: [PATCH] Convert Mozilla bookmarks to Netscape format. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@12 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- mz2ns | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 mz2ns diff --git a/mz2ns b/mz2ns new file mode 100755 index 0000000..ea6719c --- /dev/null +++ b/mz2ns @@ -0,0 +1,11 @@ +#! /bin/sh + +PATH=$HOME/lib/bookmarks_db:$PATH + +bkmk2db || exit 1 +db2bkmk.py || exit 2 + +sed -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 -- 2.39.5