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

Enjoyed this post? Why not sign up to receive Status-Q in your inbox?

© Copyright Quentin Stafford-Fraser