App::lntree - Create a best-effort symlink-based mirror of a directory
version 0.0013
lntree ~/project1 target/ lntree ~/project2 target/ # target/ is now a combination of project1 & project2, with project2 taking precedence
App::lntree is a utility for making a best-effort symlink-based mirror of a directory. The algorithm is:
- Directories are always recreated, NOT symlinked - A symlink conflict will be resolved by removing the original symlink - Regular files (including directories) are left untouched
Create a symlink mirror of <source> into <target>, creating <target> if necessary
Robert Krimen <robertkrimen@gmail.com>
This software is copyright (c) 2010 by Robert Krimen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::lntree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::lntree
CPAN shell
perl -MCPAN -e shell install App::lntree
For more information on module installation, please visit the detailed CPAN module installation guide.