|
|
Find command - is it me?
|
|
|
|
Fresh-Faced Recruit
Join Date: Feb 2003
Location: Toronto
Status:
Offline
|
|
I have not had much luck with the find command. Can I expect to be able to find a file containing a certain unique phrase in its text? I have tried several times, even knowing which file (an MS Word file) actually has this phrase. Usually I get a list of lots of other files but not the right one.
I would love to be able to get this to work.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Aug 2002
Status:
Offline
|
|
Originally posted by kbdog:
I have not had much luck with the find command. Can I expect to be able to find a file containing a certain unique phrase in its text? I have tried several times, even knowing which file (an MS Word file) actually has this phrase. Usually I get a list of lots of other files but not the right one.
I would love to be able to get this to work.
Yes, I reckon it is jsut you. Try searching for your 'unique phrase' with the file type as .doc
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
Generally, the Find command only searches file names, not file contents. That might be why you can't find it. If you want to search the contents you have to index your files.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Feb 2003
Location: Toronto
Status:
Offline
|
|
Originally posted by chabig:
Generally, the Find command only searches file names, not file contents. That might be why you can't find it. If you want to search the contents you have to index your files.
That makes sense. How do I index my files?
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Mar 2003
Location: Knoxville
Status:
Offline
|
|
Originally posted by kbdog:
That makes sense. How do I index my files?
Easiest way I know of is to select your home directory, hit command-i, and then expand the triangle by "Content Index" and hit the "Index Nox" button.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Feb 2003
Location: Toronto
Status:
Offline
|
|
Originally posted by stravinsky1911:
Easiest way I know of is to select your home directory, hit command-i, and then expand the triangle by "Content Index" and hit the "Index Nox" button.
Thanks, I'm indexing right now!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|