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`
do
    cp $i /Volumes/Backup/$i
done

© Copyright Quentin Stafford-Fraser