Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > App to find by content that really works?

App to find by content that really works?
Thread Tools
Mac Elite
Join Date: Oct 1999
Location: Montréal, Québec (Canada)
Status: Offline
Reply With Quote
Oct 10, 2007, 02:24 AM
 
Hi, I would like to find an application that can search text files by content that really works. For some reason Spotlight doesn't really work for that. I tried Greppie, which is a bit better, but it misses a lot of entries. I have a folder containing over 1000 text files for a total of over 14 MB and I need to find every instance of a given word, and I have yet to find a solution that works. Do you know one? Thank you!

For the records, I already tried to put the folder in Spotlight "ignore list" and removing it from there to force a re-indexing.
     
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
Oct 10, 2007, 03:08 AM
 
Spotlight *should* work.

How is t broken? Do you have the text folder within your home folder, or is it somewhere else on your hard drive?
     
Mac Elite
Join Date: Oct 1999
Location: Montréal, Québec (Canada)
Status: Offline
Reply With Quote
Oct 10, 2007, 03:54 AM
 
Originally Posted by analogika View Post
Spotlight *should* work.

How is it broken? Do you have the text folder within your home folder, or is it somewhere else on your hard drive?
It's currently on my Desktop, which is technically a subfolder of my home folder. It's broken in the sense that it doesn't return any result when I search for terms that are clearly present in the text files.
     
Mac Elite
Join Date: Oct 1999
Location: Montréal, Québec (Canada)
Status: Offline
Reply With Quote
Oct 10, 2007, 05:22 AM
 
D'oh! that was stupid.. the files were using a custom extension but were really text files, so by renaming them to end in .txt, Spotlight is working properly!
     
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
Oct 10, 2007, 05:30 AM
 
Wow.

That's...kinda stupid.

Not sure if it's really Spotlight being stupid or just a stupid situation brought on by a combination of unhappy circumstances (Spotlight only indexing text in files it knows can contain text, and the creator of those files not making them obvious as plain-text files)...
     
Mac Elite
Join Date: Oct 1999
Location: Montréal, Québec (Canada)
Status: Offline
Reply With Quote
Oct 10, 2007, 05:40 AM
 
In the Get Info dialog, the Finder lists the kind as "text document", they sport the same icon as plain text files and they open with TextEdit by default.. Strange! The only difference with the new .txt extension is that the kind is now "plain text document"
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Oct 10, 2007, 06:36 AM
 
What was the old extension?
     
Mac Elite
Join Date: Oct 1999
Location: Montréal, Québec (Canada)
Status: Offline
Reply With Quote
Oct 10, 2007, 06:37 AM
 
.log
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Oct 10, 2007, 09:34 AM
 
Ah. OK, that makes sense then. Minor bug in Spotlight, if you ask me - send it in using the OS X Feedback function.
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 10, 2007, 09:38 AM
 
In a pinch, a "grep -r" will always find stuff for you.
     
Mac Elite
Join Date: Oct 1999
Location: Montréal, Québec (Canada)
Status: Offline
Reply With Quote
Nov 20, 2007, 05:47 AM
 
Update: under Leopard, Spotlight finds every occurence correctly, even in files using the original suffix of .log !
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:09 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2