Del.icio.us evacuation procedure for your bookmarks
posted January 2nd, 2011 at 7:05 pm by chad
Thanks to @andrew_k for posting an awesomely simple curl command to dump bookmarks for a del.icio.us account.
My wife and I both use del.icio.us. The following is a simple shell script I'm running periodically during the day to keep a backup of our bookmarks. I'll keep running this up until Yahoo! pulls the plug or until I find a suitable alternative.
If you need to dump a single account, just hardcode your login and password into the curl URL and run the command as crontab entry directly.
#!/bin/bash
#
# Script: backup_delicious.sh
# Description: Backup delicious bookmarks to an XML file
# Location: /usr/local/bin
# Author: Chad Kieffer, ckieffer at gmail dot com
#
# Sample cron entry:
# 0 9,12,15,18,21 * * * '/usr/local/bin/backup_delicious.sh'
USER=(
'user1'
'user2'
)
PASSWORD=(
'user1password'
'user2password'
)
for (( i = 0 ; i < ${#USER[@]} ; i++ ))
do
/usr/bin/curl https://${USER[$i]}:${PASSWORD[$i]}@api.del.icio.us/v1/posts/all > /path/to/backup/directory/bookmarks_${USER[$i]}.xml
done
exit 0






Comments
Import your Delicious bookmarks
I think the news about Delicious is very unfortunate but would love to assist Delicious users in shopping other bookmarking alternatives. There are many out there that offer great features. I am commenting on behalf of Symbaloo. Symbaloo is a great alternative because it is visual and users are able to tag, share and publish their favorite bookmarks. Published “webmixes” (a collection of bookmarks) are also indexed in Google. More reasons to try Symbaloo: http://bit.ly/i2ecgJ
To import your delicious bookmarks visit http://delicious.symbaloo.com
Kind regards,
Kimmie
Team Symbaloo
Post new comment