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

Re: Need utility to search for duplicate files



On Sat, 13 Apr 2002, Eric G. Miller wrote:

> On Sat, Apr 13, 2002 at 03:18:47AM -0500, Alex Malinovich wrote:
(snip)
> > Unfortunately, the files won't always have the same filename. Does
> > anyone know of a utility that can go through and search for files with
> > the same size and/or date and delete them or notify me?
>
> Maybe something combining "find", "md5sum", "sort", and "join"?
(snip)

No need to remove access to any files to save space, just hardlink
duplicates to each other if the home directories are on the same
partition, so 'rm' and 'ln' might be good. (Admittedly, you'd probably
want to verify the list of candidates too to avoid doing things like
linking .bashrc's to each other, and if you're security-conscious you
might want to avoid hardlinking executables. (-:)

-- Mark


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: