K.S. Bhaskar on 22 Nov 2008 14:43:32 -0800


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

Re: [PLUG] finding duplicate files


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

Regards
-- Bhaskar

On Sat, Nov 22, 2008 at 1:32 PM, Art Alexion <art.alexion@gmail.com> wrote:
> I have a directory with a lot of files, a number of which are identical,
> except for filename.  What is the most efficient way to find (and ultimately
> delete) the duplicates?
___________________________________________________________________________
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