Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexwlchan/backup-pinboard
Create a local backup of your Pinboard backups
https://github.com/alexwlchan/backup-pinboard
Last synced: 12 days ago
JSON representation
Create a local backup of your Pinboard backups
- Host: GitHub
- URL: https://github.com/alexwlchan/backup-pinboard
- Owner: alexwlchan
- License: mit
- Archived: true
- Created: 2013-03-31T14:33:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-11-28T07:21:21.000Z (almost 6 years ago)
- Last Synced: 2024-07-27T00:44:35.275Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 47.9 KB
- Stars: 56
- Watchers: 8
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred-test - alexwlchan/backup-pinboard - Create a local backup of your Pinboard backups (Rust)
README
# backup-pinboard
This is a tool for creating a local backup of your Pinboard bookmarks.
## Installation
Building this project [requires Rust][rust] (1.19 or later).
Then install the project using Cargo:```console
$ cargo install --git https://github.com/alexwlchan/backup-pinboard.git
```You need to add `~/.cargo/bin` to your PATH.
[rust]: https://www.rust-lang.org/en-US/
## Usage
Download your bookmarks metadata:
```console
$ backup-pinboard metadata --username=USERNAME --password=PASSWORD
```This downloads your metadata to `bookmarks.json`.
You can specify an alternative path with `--outfile`, for example:```console
$ 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:
```console
$ 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][python] for the last version of the Python scripts.[python]: https://github.com/alexwlchan/backup-pinboard/tree/6dcc06e49a4863803d5a2a0c9ac23bfec2f4bcf3
## License
MIT.