Having just started to use Tags with Quicksilver I'd like to display the Tags I've already used on my desktop with
GeekTool.
I've found where Quicksilver stores the Tags and I've got a basic command to get the Tags out of the file but I could do with some help removing the duplicates and extra text.
Here's the code:
Code:
grep string /Users/username/Library/Caches/Quicksilver/Indexes/QSPresetQSFileTagsPlugIn.qsindex | awk {'print $1'} > /Users/username/Desktop/tags.txt
The result in file looks like this:
<string>guides</string>
<string>guides</string>
<string>qs.tag.file</string>
<string>scripts</string>
<string>scripts</string>
<string>qs.tag.file</string>
<string>Guide</string>
<string>Guide</string>
<string>qs.tag.file</string>
I'd like to remove the
<string>qs.tag.file</string> lines and the
<string> </string>
Does anyone know how to do this?