Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'If Spotlight does not find a file or a file's contents' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
If Spotlight does not find a file or a file's contents
Authored by: drudus on Nov 07, '11 02:09:57PM

The beauty of the 'find command' is that you can use -delete as the last argument (instead of -print) & it will removed the offending files.
You can also get even more power by using the -exec argument to process the files with other commands, so you could 'chown myusername' the found files & chmod the correct read/write/execute attributes.

When issues like this are caused by network shares you may need to fix the files on many machines - a one line 'find snippit' can fix them all, drop it into an automator script if non geeks need to use it.

Try doing that with a GUI app.



[ Reply to This | # ]