[ale] Looking for duplicate photos

Geoffrey esoteric at 3times25.net
Sun Feb 6 20:16:02 EST 2005


pras at cycloeastern.com wrote:
> Only couple of enhancements I would make is 
> 
> make ls --sort...
> to ls -ltr --sort as he said the pics might be nested in a directory.

I would use 'du  -b' to determine the file size, it'll save a lot of the 
cut work.  I would also use 'cmp' to see if the two files are the same. 
  diff compares files line by line, images are binary, you might run 
into a problem because a file has a very long line, or ends without a 
newline.

-- 
Until later, Geoffrey



More information about the Ale mailing list