How to locate all duplicate files?

Mike Ballon mike.ballon at gmail.com
Wed Apr 21 13:10:41 MST 2010


I don't have time to write the script right now, but a something simple
like:

 find . * | xargs ls -l | awk -F" " '{print $7 $9}'

then man on sort and uniq. You could also just toss the output into a
spreadsheet.

-Mike

On Wed, Apr 21, 2010 at 3:53 PM, <joe at actionline.com> wrote:

>
> 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 - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100421/1e516309/attachment.htm>


More information about the PLUG-discuss mailing list