Created
October 12, 2012 13:46
-
-
Save oppara/3879269 to your computer and use it in GitHub Desktop.
Pinboard backup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| DIR=/Users/sbrown/backups | |
| FILE=`date +"%Y%m%d"`-pinboard-backup.json | |
| URL=https://USERNAME:PASSWORD@api.pinboard.in/v1/posts/all?format=json | |
| cd $DIR | |
| wget $URL -O $FILE |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://behindcompanies.com/2011/12/a-guide-to-backing-up-pinboard/