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


Click here to return to the '10.4: Finder searches fail for Spotlight-excluded drives' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Finder searches fail for Spotlight-excluded drives
Authored by: diamondsw on Jun 17, '05 11:08:13AM

Since Spotlight ignores the BSD folders as well, good luck finding anything in there. I was trying to locate the text "Bluetooth-PDA-Sync" which I knew was *somewhere* on my system. find/xargs/grep choked on pathname spaces. Other methods just searched filenames.

Finally, I used TextWrangler (opened as root via Psuedo) and had it search the contents of the drive, which took forever, but found the file (/var/root/Library/Preferences/blued.plist).



[ Reply to This | # ]
10.4: Finder searches fail for Spotlight-excluded drives
Authored by: fracai on Jun 17, '05 11:59:38AM

I assume you mean something like
find <search terms, etc> | xargs grep
or something

your friend here is -print0 as a find option and -0 as a xargs option
this will print matching files seperated by a null character and will set xargs to seperate input by null characters instead of returns and spaces

find <search terms, etc> -print0 | xargs -0 grep

---
i am jack's amusing sig file



[ Reply to This | # ]
10.4: Finder searches fail for Spotlight-excluded drives
Authored by: RobertBen on Jun 18, '05 05:37:31AM

The tip (just above) to use Easyfind instead makes more sense to me, will find anything anywhere on your Mac.

Since Tiger I use Easyfind in conjunction with Spotlight and this combination works very well.

I still don't understand why Apple excluded the 'old' way of searching, offering it in conjunction with Spotlight would have made sense.
Probably as an advanced option to keep things clear for novice users.

Maybe in 10.4.2? (just dreaming ;-)



[ Reply to This | # ]