Re: How to locate all duplicate files?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: kitepilot@kitepilot.com
Date:  
To: Main PLUG discussion list
Subject: Re: How to locate all duplicate files?
Try:
http://netdial.caribe.net/~adrian2/programs/fdupes.html

Or:
>/tmp/MD5SUMs

cd /path_1
find . -type f|sort|while read FI;do md5sum "$FI">>/tmp/MD5SUMs;done
cd /path_2
md5sum -c /tmp/MD5SUMs|grep -v 'OK$'

OR:
cd /path_1
find . -type f|sort>/tmp/path_1.files
cd /path_2
find . -type f|sort>/tmp/path_2.files
diff /tmp/path_1.files /tmp/path_2.files
YMMV
ET

PS: If you have any question you will get any answer. :)




writes:

>
> What command syntax can I use to locate all duplicate files (filenames) on
> my system? Or, more specifically, within any specified directory on the
> system?
>
> Also, how can I tell which duplicates have identical contents and which
> duplicates have different content (or at least different file sizes)?
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss