Skip to content

Instantly share code, notes, and snippets.

@wizardishungry
Created March 31, 2009 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wizardishungry/88319 to your computer and use it in GitHub Desktop.
Save wizardishungry/88319 to your computer and use it in GitHub Desktop.
#!/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