On Sat, Dec 12, 2009 at 02:31:54AM +0100, Alexander Bochmann wrote: > Hi, > > ...on Fri, Dec 11, 2009 at 06:52:09PM -0500, STeve Andre' wrote: > > > > Compare how? > > I should have been more clear I suppose. I'd like to know > > the files that are identical, files that are of the same > > name but different across directories, possibly several > > directories. > > Maybe you could use something like this in the > directory you're looking at: > > find . -type f -print0 | xargs -0 -r -n 100 md5 -r > md5sums > > You could now just sort the md5sums file to find
or | to sort -u -k <smizzizlezlackin' awesomenesss> > all entries with the same md5... Or sort by filename > (will need some more logic if files are distributed > over several subdirectories) to weed out those with > the same name and different checksums. > > Alex.

