From: Oleg Broytman Date: Mon, 12 Dec 2011 09:30:12 +0000 (+0000) Subject: Added a shell wrapper for set-title-list.py. X-Git-Tag: v4.5.3~27 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d9712d54b79a868754c706c9f82b1672f12873d7;p=bookmarks_db.git Added a shell wrapper for set-title-list.py. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@349 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Makefile b/Makefile index d72cdd4..761ab4b 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ VERSION=4.4.0 EXAMPLE_SHELL=bkmk-add bkmk-add.py bkmk-chk bkmk-publish bkmk-rsync \ bkmk-sort bkmk2db check_title.py check_url.py hotexplode.pl \ - mk-distr set-real_title.py set-title-list.py + mk-distr set-real_title.py set-title-list set-title-list.py .PHONY: all all: diff --git a/set-title-list b/set-title-list new file mode 100755 index 0000000..41e9d4f --- /dev/null +++ b/set-title-list @@ -0,0 +1,19 @@ +#! /bin/sh +# Set titles +# +# This file is a part of Bookmarks database and Internet robot. +# +# __version__ = "$Revision$"[11:-2] +# __revision__ = "$Id$"[5:-2] +# __date__ = "$Date$"[7:-2] +# __author__ = "Oleg Broytman " +# __copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design" +# __license__ = "GNU GPL" + +PATH="$HOME/lib/bookmarks_db:$PATH" + +set-title-list.py "$@" || exit 1 + +BKMK_WRITER=flad db2bkmk.py && \ +convert_st.py json && \ +exec db2bkmk.py