Replace duplicates with symlinks [SOLVED]

Dave Woyciesjes woyciesjes at sbcglobal.net
Mon Jul 28 22:05:05 UTC 2008


Smoot Carl-Mitchell wrote:
> On Mon, 2008-07-28 at 15:27 -0400, Dave Woyciesjes wrote:
>> Smoot Carl-Mitchell wrote:
>>> On Mon, 2008-07-28 at 14:30 -0400, Dave Woyciesjes wrote:
>>>
>>>> 	Very interesting.... I wonder how it compares the files and decides 
>>>> which to delete? By name alone? File size? Time stamp? And does it move 
>>>> the files to the Trash, or somewhere else? More research is needed....

>>> Interesting tool.  However, you need to be very careful about merging
>>> file with it.  It compares files by checksumming the contents.  Files
>>> which are identical at a point in time, may not be appropriate to
>>> replace with either hardlinks or symlinks. The tool found a lot if
>>> identical files in my .evolution directory which would not be
>>> appropriate to symlink.

>> 	Hmmm, so it will only merge 2 files if they have identical contents? 
>> e.g. 2 text.txt files will be merged, unless one has an extra letter?

> I do not see how it could work in any other way.

	Well, I inquired because (aside from I just haven't had a spare minute 
to look & test myself) it could simply look for duplicate names and go 
by that.
	But now that you've discovered & shared that it goes by a checksum of 
the contents, I like it even more. :)
	Will definitely have to make time to test.

-- 
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes

"From there to here,
 From here to there,
Funny things
are everywhere."
--- Dr. Seuss




More information about the ubuntu-users mailing list