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: tempel on Nov 07, '11 09:32:40AM

Using the "find" terminal cmd is IMO the worst way to perform file searches.

I recommend use a GUI tool such as EasyFind or Find Any File. Both not only present the results much better than "find" can, but also are much faster when you search the entire disk because they use advanced search functions ("CatalogSearch") that "find" doesn't.

The latter app (FAF, which is my app, BTW) even lets you perform the search as root user, making it find even those items that have the permissions set like the hints author mentioned.



[ Reply to This | # ]
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 | # ]