I threw together this script and I thought one or two others of you out there might find it useful. It takes a single del.icio.us tag as a parameter, and, assuming you’re backing up your del.icio.us bookmarks locally (as you should be doing, using Ian Henderson’s delimport), it will return all your delicious links that match that tag.
It requires 10.4 (as does delimport), as it uses Spotlight to find stuff.
Disclaimers: I whipped this up in about 30 seconds (and it shows). There are doubtlessly more efficient ways of grabbing the relevant info from Spotlight than running mdls 3 times in succession… It does no real error checking, and may very well turn your shiny quad-core G5 into a shiny aluminum puddle. Patches / complete rewrites welcome.
Known bugs: if you've renamed bookmark files with spaces, you'll get some ugly.
The average individual’s position in any hierarchy is a lot like pulling
a dogsled — there’s no real change of scenery except for the lead dog.