Created
March 31, 2009 18:22
-
-
Save wizardishungry/88319 to your computer and use it in GitHub Desktop.
This file contains 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 | |
user='WIZARDISHUNGRY' | |
password='youdidntreallythinksodidyou' | |
path=~/path/to/data/delicious.xml | |
cd `dirname $path` | |
curl --user $user:$password -fsS -o $path 'https://api.del.icio.us/v1/posts/all' | |
git add $path | |
git commit -m 'automated delicious backup' > /dev/null | |
git push > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment