check your up to date delicious links.

curl -k https://Username:Password@api.del.icio.us/v1/posts/all?red=api | xml2| \grep '@href' | cut -d\= -f 2- | sort | uniq | linkchecker -r0 --stdin --complete -v -t 50 -F blacklist
This commands queries the delicious api then runs the xml through xml2, grabs the urls cuts out the first two columns, passes through uniq to remove duplicates if any, and then goes into linkchecker who checks the links. the links go the blacklist in ~/.linkchecker/blacklist. please see the manual pages for further info peeps. I took me a few days to figure this one out. I how you enjoy it. Also don't run these api more then once a few seconds you can get banned by delicious see their site for info. ~updated for no recursive
Sample Output
1 http://www.jokosher.org/
1 http://www.learnopenoffice.org/calccontents.htm
1 http://ubcd4win.com/forum/index.php?showtopic=9630
1 http://212.182.0.171/dwww/
1 http://www.smarthomeforum.com/start/default.asp
1 http://www.sjrcc.edu/
1 http://curvedns.on2it.net/docs
1 http://www.smarthomeforum.com/

-1
By: bbelt16ag
2013-05-04 17:43:21

What Others Think

If you have any special characters in password use HTML code instead of special character. Example: If you have @ in password use %40 instead of @, if you have space in password use %20 instead of space.
sandeepvreddy · 484 weeks ago
good idea sandeepyreddy!
bbelt16ag · 469 weeks and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: