Export your Delicious bookmarks using Terminal on Mac OS X

December 21st, 2010

Reading Jeremy Keith’s recap of the fact that Delicious is shutting down being sold off and that he wanted to pull all of his bookmarks off of the service and onto his site reminded me that I wanted to do the same thing.

His example shows an easy way to grab all of your Delicious bookmarks off of the service. Only, if you are a Terminal newb you may not have any idea what just happened after you run his suggested command.

So, my suggestion is to run the following command. First, open Terminal by opening the ~/Applications/Utilities/Terminal.app or simply type Terminal into Spotlight and hit Enter. Then, run this command.

curl https://username:password@api.del.icio.us/v1/posts/all -o "delicious.xml"

That -o flag, or option, tells curl that you’d like to save the file. The filename that you’d like to use is in the quotes. Now, you’ll have a single XML file saved in your Home directory called delicious.xml with all of your Delicious Bookmarks.

What you do with that is up to you. Just about any text editor will allow you to read the .xml file.

Oh, and like Mr. Keith I’ll be posting all of my links back onto Delicious as well. I just have to write a quick plugin for WordPress. I’m sure I’ll find time for that sometime in 2011. I’ve never thought of doing that (no idea why) but I am going to start. I don’t know what the future holds for Delicious but either way it is fun and easy to “dual post” the links.

[ad#Adsense: Horiz 468]

#, #