shtool-mkshadow(1)

shtool-mkshadow1

Gnu shtool create shadow tree using symlinks

Usage

shtool mkshadow [{-v | --verbose}] [{-t | --trace}] [{-a | --all}] src-dir dst-dir

Overview

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.

Examples

 #   shell script
 shtool mkshadow -v -a . /tmp/shadow

Releases

11 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0–8
  5. 9–10
  6. 11–13

History

The GNU shtool mkshadow command was originally written by Ralf S. Engelschall <[email protected]> in 1998 for Apache. It was later revised and taken over into GNU shtool.

From shtool 2.0.8-10 in Debian 13 (Trixie). Parsed by carta from the page's man source.