This is a tool for creating a local backup of your Pinboard bookmarks.
Building this project requires Rust (1.19 or later). Then install the project using Cargo:
$ cargo install --git https://github.com/alexwlchan/backup-pinboard.git
You need to add ~/.cargo/bin
to your PATH.
Download your bookmarks metadata:
$ backup-pinboard metadata --username=USERNAME --password=PASSWORD
This downloads your metadata to bookmarks.json
.
You can specify an alternative path with --outfile
, for example:
$ backup-pinboard metadata --username=USERNAME --password=PASSWORD --outfile=~/backups/pinboard.json
If the outfile name ends in .xml
, metadata is saved as XML instead of JSON.
If you have an archival account, you can also download copies of your saved pages:
$ backup-pinboard archive --username=USERNAME --password=PASSWORD --outdir=~/backups/pinboard-archive
This used to be a Python script; in July 2017 I completely rewrote the tool in Rust. You can browse the repo at commit 6dcc06e for the last version of the Python scripts.
MIT.