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

Re: tool to turn redundant files into symlinks



On Monday 21 May 2007 00:16:13 Philipp Matthias Hahn wrote:
> On Sun, May 20, 2007 at 07:42:56PM -0600, Wesley J. Landaker wrote:
> > For a package problem I'm trying to solve (#414422), it would be nice
> > to have a tool that could find duplicate files (ala fslint[1] or
> > fdupes[2]) and turn them into symlinks.
>
> 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. =)

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.

-- 
Wesley J. Landaker <wjl@icecavern.net> <xmpp:wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: pgp_ar_RFXpfg.pgp
Description: PGP signature


Reply to: