Replace duplicates with symlinks [SOLVED]

Smoot Carl-Mitchell smoot at tic.com
Mon Jul 28 22:37:02 UTC 2008


On Mon, 2008-07-28 at 18:09 -0400, Brian McKee wrote:
> On Mon, Jul 28, 2008 at 3:19 PM, Smoot Carl-Mitchell <smoot at tic.com> 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.
> 
> That's interesting - you have more than one file with the same
> checksum that are not identical?
> I thought that was mathematically very unlikely...

You misunderstood what I said.  The Evo files are the *.cmeta files
which often have identical content.  However, you do not want to symlink
them or hardlink them, since if you change one, you do not want the
other cmeta files to change.
-- 
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list