Art Alexion on 23 Nov 2008 14:26:06 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] finding duplicate files


On Sun, Nov 23, 2008 at 3:53 PM, JP Vossen <jp@jpsdomain.org> wrote:
>> Date: Sat, 22 Nov 2008 17:43:24 -0500
>> From: "K.S. Bhaskar" <bhaskar@bhaskars.com>
>>
>> Let's see if we can do it in 1 line...  How about something like:
>>
>>   find . -type f -exec md5sum {} \; | sort | uniq -d -w 32
>
> I'd skip the find [1], since this does the same unless you need to
> recurs into directories, which Art didn't say:

All in the same directory, but if I wanted it to recurse through
sub-directories, would I leave the find in?




-- 

--
artAlexion
sent unsigned from webmail interface
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug