[Ti] OT: Finding dupes on hard drive

b fl1pper at earthlink.net
Thu Jul 1 15:19:49 PDT 2004


Loren Schooley paused, thought it over, and spoke thusly:

>I use locate.
>
>All jpgs on computer:
>$locate jpg
>
>(My home directory is "loren")
>All jpgs in lorens home directory (i.e. Any path with loren in it:
>
>$ locate jpg | grep loren | sort
>
>May want to run "$ sudo /usr/libexec/locate.updatedb" first to update the
>locatedb.
>
>Loren

That's a lot of typing, Loren, how about going to a menu, clicking 
one item, and searching for all dupes, not just specific types?

Unix is great, but there are times when a simple-appearing GUI can 
really give it a run.

In File Buddy:

<menu< 'Cleaning/'Find duplicate Files...'

Match criteria can include name, extension, creation date, modified 
date, file type, data fork size, data fork contents, resource fork 
size, resource fork contents...

One click, check boxes, done. A similar 'piped', multi-sorted 
'command' in Unix would be a good paragraph of typing, with zero 
margin for typo-errors.

Even Command-F will search for file types... but the 'key' is exact 
duplicates.  It's even trickier to get Unix to do multiple volume, 
simltaneous searches... something File Buddy, BBEdit, and others have 
done for a decade already.

~flipper



More information about the Titanium mailing list