From: Sam Vilain (sam_at_vilain.net)
Date: Tue 15 Jul 2003 - 12:15:24 BST
On Fri, 11 Jul 2003 12:01, Thomas Gebhardt wrote:
> Wouldn't it suffice to scan all files in /usr and its
> subdirectories (on the vservers) looking for file
> attributes and md5sum, "unifying" all the files that
> are identical?
Yes. Get this script:
You'll probably also want to unify /lib (to get the C library etc) and
possibly even /bin, /dev, whatever.
You'll need this module (not on CPAN, sorry) to run it:
The other modules it uses (Digest::SHA1, Pod::Constants, Text::Wrap,
Term::ReadKey) are all on CPAN
-- Sam Vilain, sam_at_vilain.net
A problem adequately stated is a problem well on its way to being solved. -- Richard Buckminster Fuller