Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

alexwlchan/backup-pinboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backup-pinboard

This is a tool for creating a local backup of your Pinboard bookmarks.

Installation

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.

Usage

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

The old Python script

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.

License

MIT.

About

Create a local backup of your Pinboard backups

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages