Find duplicated files
Nick Bishop
nick4soup at yahoo.com.au
Tue Oct 4 08:19:18 UTC 2005
This won't thread properly, coz I'm replying from a
digest.
> Is there anyway I can now which files are
> duplicated in some directories?
One approach is to use find, then use md5sum, then use
sort on the output of md5sum, then look for duplicate
md5's.
$ find /home -type f -print0 \
| xargs -0 md5sum \
| sort ... \
| less
I can't give more specific details, coz I'm stranded
on a windows box at present, but [man sort] should get
you going.
Nick Bishop, email replies ignored.
-----
Disclaimer, n:
Advice to the reader that they should put their lawyer away.
-oOo-
____________________________________________________
Do you Yahoo!?
The New Yahoo! Movies: Check out the Latest Trailers, Premiere Photos and full Actor Database.
http://au.movies.yahoo.com
More information about the fedora-list
mailing list