Replace duplicates with symlinks [SOLVED]

Brian McKee brian.mckee at gmail.com
Tue Jul 29 00:27:47 UTC 2008


On Mon, Jul 28, 2008 at 6:37 PM, Smoot Carl-Mitchell <smoot at tic.com> wrote:
> On Mon, 2008-07-28 at 18:09 -0400, Brian McKee wrote:
>> 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.

Ah - now I see what you mean.

For anybody else following this thread - I found this instructional.
See if you can guess the output of the last command before you run it.

  echo 'line one' > one.txt
  ln one.txt two.txt
  ln one.txt three.txt
  echo 'line two' > two.txt
  echo 'line three' >> three.txt
  cat one.txt two.txt three.txt

Brian




More information about the ubuntu-users mailing list