[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tool to turn redundant files into symlinks



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Weskey,

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 
> myself.

That would be the other way. finddup can print out the double files.

Gruß
   Klaus
- -- 
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)

iQEVAwUBRlKE3J+OKpjRpO3lAQJlawf+OGyqWgsq3RzGdaSIxrDwJVgeSi7zIr3M
qw7rUHBfdpwncIxj34caKgTtuuTzbGZSWejwfwF0+k3lz3S7OjSCEJEf+AULUmCj
6YQuW/5G27vukx2y164V2oJ74GO9GHFxCELN8c9Rjv7+wx6AbPSGBeFe+FR3AtSz
Ibo1bzdtWfOBkz5Grd68BOI3y0kv6du7JwMlBhX70aPVv8VsPfo8pqewViva1xBs
S9xXTMwrmiIDJnLP0PrYiG+ihCBJqw4ucOaGmcKfXi9xvTVvnteaJn0FmVknCxX2
KCRHhkOjkE+fFKMHmXDvBoRutnRBH70erw5FSI8NOPSGsRewLMW56Q==
=HQQ2
-----END PGP SIGNATURE-----



Reply to: