LinuxCommandLibrary

lndir

creates a shadow directory tree consisting of symbolic links to another

TLDR

Create shadow directory of symlinks

$ lndir [path/to/source]
copy

SYNOPSIS

lndir [options] fromdir [todir]

DESCRIPTION

lndir creates a shadow directory tree consisting of symbolic links to another directory tree. This is useful for building software in a separate directory while keeping the source tree clean.

PARAMETERS

fromdir

Source directory to link from
todir
Destination directory (defaults to current directory)
-silent
Suppress diagnostic messages
-ignorelinks
Ignore symbolic links in source

CAVEATS

Originally developed for X Window System builds. Does not follow symbolic links in the source directory by default.

SEE ALSO

ln(1), cp(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community