| 1 | = BookmarksProject Command Line Tool = |
| 2 | |
| 3 | The BookmarksProject includes a command line tool, [source:bookmarks/trunk/bin/bkmk bkmk], for managing your bookmarks. |
| 4 | |
| 5 | == Synopsis == |
| 6 | |
| 7 | {{{ |
| 8 | $ bkmk -f bookmarks.db init |
| 9 | $ bkmk -f bookmarks.db add http://cpan.org perl programming |
| 10 | [... YAML representation of the newly added bookmark ...] |
| 11 | $ export BKMK_DBNAME=bookmarks.db |
| 12 | $ bkmk list |
| 13 | [... list of bookmarks ...] |
| 14 | |
| 15 | # export and re-import to a new database |
| 16 | $ bkmk -f old.db dump > export.yml |
| 17 | $ bkmk -f new.db load export.yml |
| 18 | }}} |