Johan Vromans > lntree > lntree

Download:
lntree-1.10.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

lntree - link identical files in source trees

SYNOPSIS ^

lntree [options] old-dir new-dir

 Options:
   -[no]recurse         recursive (enabled by default)
   -ident               show identification
   -help                brief help message

DESCRIPTION ^

lntree will examine all files in two source trees and link the files that are equal. To be precise: if two files are equal (same size, same contents), the one in directory new-dir is replaced by a link to the file in old-dir.

This results in a substantial saving of disk space, for example when multiple versions of the same source tree need to be kept on-line. For best results, use the program like this:

    lntree pkg-2.14 pkg-2.15
    lntree pkg-2.15 pkg-2.16
    lntree pkg-2.16 pkg-2.17

and so on.

OPTIONS ^

-[no]recurse

Recurses through sub-directories. This is enabled by default.

-help

Prints a brief help message and exits.

-ident

Prints program identification.

WARNING ^

Some systems have a lndir command with different semantics. Make sure you are executing the right program!

AUTHOR AND CREDITS ^

Johan Vromans (jvromans@squirrel.nl) wrote this module.

COPYRIGHT AND DISCLAIMER ^

This program is Copyright 1993,1999 by Squirrel Consultancy. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with Perl.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.

syntax highlighting: