1SHTOOL-MKSHADOW.TMP(1) GNU Portable Shell Tool SHTOOL-MKSHADOW.TMP(1)
2
3
4
6 shtool mkshadow - GNU shtool create shadow tree using symlinks
7
9 shtool mkshadow [-v|--verbose] [-t|--trace] [-a|--all] src-dir dst-dir
10
12 This command creates a shadow tree of src-dir under dst-dir by
13 recreating the directory hierarchy of src-dir under dst-dir and by
14 creating the files of src-dir by linking them into the corresponding
15 directories under dst-dir via symbolic links. When src-dir can be
16 reached via relative paths from dst-dir, relative symbolic links are
17 used, too. This high-level functionality is originally designed for
18 developers to create copies of source trees.
19
21 The following command line options are available.
22
23 -v, --verbose
24 Display some processing information.
25
26 -t, --trace
27 Enable the output of the essential shell commands which are
28 executed.
29
30 -a, --all
31 Really shadow all files and directories in src-dir. Default is to
32 skip CVS related files and directories, backup files, object files,
33 etc.
34
36 # shell script
37 shtool mkshadow -v -a . /tmp/shadow
38
40 The GNU shtool mkshadow command was originally written by Ralf S.
41 Engelschall <rse@engelschall.com> in 1998 for Apache. It was later
42 revised and taken over into GNU shtool.
43
45 shtool(1), ln(1).
46
48 Hey! The above document had some coding errors, which are explained
49 below:
50
51 Around line 191:
52 You forgot a '=back' before '=head1'
53
54
55
5618-Jul-2008 shtool 2.0.8 SHTOOL-MKSHADOW.TMP(1)