PDA

View Full Version : shell script for spotlight


Budgie
11-02-2011, 09: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, 08:27 AM
There's no need to do this: spotlight automatically indexes new content on a drive.

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

but how would i write the code to do that?

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