PDA

View Full Version : shell script for spotlight


Budgie
11-02-2011, 10:00 PM
Hi

Can some one show me how to write a shell script that I can execute after
copy completes, to have spotlight index an external fire wire drive please?

cheers

dnanian
11-03-2011, 09:27 AM
There's no need to do this: spotlight automatically indexes new content on a drive.

Budgie
11-03-2011, 03:06 PM
ahh, forgot that

but how would i write the code to do that?

dnanian
11-03-2011, 03:24 PM
There is no need to write code to do that, since it just does it for you.