Replace duplicates with symlinks [SOLVED]
Derek Broughton
news at pointerstop.ca
Tue Jul 29 13:37:33 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.
I can see how it could be _done_ another way - but I wouldn't call
it "working" :-) If it's smart, it won't even compute the checksum unless
all the directory attributes match (including permissions!)
--
derek
More information about the ubuntu-users
mailing list