Backing up delicious bookmarks
#!/bin/sh # Your delicious username and password, separated by a colon CREDENTIALS="UserName:YourPassword" # Location where the backup will be stored BACKUP_DIR="$HOME/backups/del.icio.us" if [ ! -d "$BACKUP_DIR" ] ; then mkdir -p "$BACKUP_DIR" fi DATE=$(date +"%Y%m%d") curl --user "$CREDENTIALS" -o "$BACKUP_DIR/bookmarks-$DATE.xml" -O "https://api.del.icio.us/v1/posts/all"Delicious