Del.icio.us evacuation procedure for your bookmarks

Thanks to @andrew_k for posting an awesomely simple curl command to dump bookmarks for a del.icio.us account.

@andrew_k's del.icio.us evacuation procedure

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

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <span> <div> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <codeblock> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <img> <fieldset> <legend>
  • Lines and paragraphs break automatically.
  • You may link to webpages through the weblinks registry
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
copyright © 2011, 2 tablespoons | Privacy Policy