Working with Spotlight

[Original Link] Mac techies interested in the ‘Spotlight’ search technology that’s coming up in Tiger, the next version of Mac OS X, should have a look at this article.

I like this example. Backup all the files on your system containing the word ‘Tiger’:

for i in `mdfind Tiger`
    cp $i /Volumes/Backup/$i

© Copyright Quentin Stafford-Fraser