Man page - shtool-mkshadow(1)
Packages contas this manual
- shtool-scpp(1)
- shtool-rotate(1)
- shtool-version(1)
- shtool-prop(1)
- shtool-arx(1)
- shtool-mdate(1)
- shtool-install(1)
- shtoolize(1)
- shtool-platform(1)
- shtool-mkdir(1)
- shtool-move(1)
- shtool(1)
- shtool-subst(1)
- shtool-tarball(1)
- shtool-table(1)
- shtool-path(1)
- shtool-mkshadow(1)
- shtool-slo(1)
- shtool-echo(1)
- shtool-mkln(1)
- shtool-fixperm(1)
apt-get install shtool
Manual
| SHTOOL-MKSHADOW.TMP(1) | GNU Portable Shell Tool | SHTOOL-MKSHADOW.TMP(1) |
NAME
shtool-mkshadow - GNU shtool create shadow tree using symlinks
SYNOPSIS
shtool mkshadow [-v|--verbose] [-t|--trace] [-a|--all] src-dir dst-dir
DESCRIPTION
This command creates a shadow tree of src-dir under dst-dir by recreating the directory hierarchy of src-dir under dst-dir and by creating the files of src-dir by linking them into the corresponding directories under dst-dir via symbolic links. When src-dir can be reached via relative paths from dst-dir, relative symbolic links are used, too. This high-level functionality is originally designed for developers to create copies of source trees.
OPTIONS
The following command line options are available.
- -v, --verbose
- Display some processing information.
- -t, --trace
- Enable the output of the essential shell commands which are executed.
- -a, --all
- Really shadow all files and directories in src-dir. Default is to skip CVS related files and directories, backup files, object files, etc.
EXAMPLE
# shell script shtool mkshadow -v -a . /tmp/shadow
HISTORY
The GNU shtool mkshadow command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1998 for Apache. It was later revised and taken over into GNU shtool.
SEE ALSO
shtool(1), ln(1).
| shtool 2.0.8 | 18-Jul-2008 |