Re: tool to turn redundant files into symlinks
-----BEGIN PGP SIGNED MESSAGE-----
Am Di den 22. Mai 2007 um 0:53 schrieb Wesley J. Landaker:
> > If hardlinks are okay too, see the "perforate" package (I find this
> > package hard to find, since the name is somewhat misleading). It's
> > written in Perl.
> Well, thanks, I didn't know about this one. But, it does really *have* to be
> symlinks. I've found a few other tools that do hardlinks. =)
I am the author of perforate. Well I rewritten it from scratch as the
original tool had some flaws.
It is very easy to add a option for symlinking. But there is a little
problem deciding which of the files should be the symlink and which the
original. With hardlinks this is not the problem as after hardlinking
the files together there is no different between them.
> Anyway, if there isn't something that already does it, I can probably just
> parse the output of one of these programs and do the symlink replacement
That would be the other way. finddup can print out the double files.
Klaus Ethgen http://www.ethgen.de/
pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----