At 9:16 AM -0700 6/17/2011, Bruce Johnson wrote:
On Jun 17, 2011, at 7:26 AM, Dan wrote:
I'm thinking maybe Spotlight is falling into some abyss in its
index, caused by bad processing of these corrupted jpegs.
Any ideas on how to find 'em?
Another thought, generate a list of files with the .jpg or .jpeg
extension on the mac with the find command (do it as sudo to get
every one:
sudo find / -name *.jpg -print | sort > listofjpegs.txt
And do an mdfind command for the same from your index, man mdfind
gives you some hints, man mdimport gives you the list of attributes.
Then you can do a diff on the two lists to find ones on one list and
not the other, either in the command line or via a text editor like
bbedit or textwrangler (I know TW does this, I've done it before.)
heh. This is not as easy as it, um, sounds!
The find command, looking for \*.jpg, works well. (have to escape the *)
But then mdfind contains hundreds fewer, no matter what criteria I
use. AND it gives results for my other drives - where I've disabled
and erased the spotlight index?!
So, I'm trying a process of elimination, by feeding mdimport the
criteria files one at a time. I figure if something throws the
error, then I'll at least have a ballpark to look for in the
generated listings. Hopefully. sigh. I hate useless/terse error
messages.
- Dan.
--
- Psychoceramic Emeritus; South Jersey, USA, Earth.
--
You received this message because you are a member of G-Group, a group for
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/g3-5-list