wiki:BookmarksProject/CommandLineTool

Version 1 (modified by peter, 9 years ago) (diff)

started documenting the command line tool

Bookmarks Project Command Line Tool

The Bookmarks Project includes a command line tool, bkmk, for managing your bookmarks.

Synopsis

$ bkmk -f bookmarks.db init
$ bkmk -f bookmarks.db add http://cpan.org perl programming
[... YAML representation of the newly added bookmark ...]
$ export BKMK_DBNAME=bookmarks.db
$ bkmk list
[... list of bookmarks ...]

# export and re-import to a new database
$ bkmk -f old.db dump > export.yml
$ bkmk -f new.db load export.yml