← 返回命令列表

Linux command

lndir 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Example

lndir [path/to/source]

说明

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.

参数

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

FAQ

What is the lndir command used for?

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.

How do I run a basic lndir example?

Run `lndir [path/to/source]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does fromdir do in lndir?

Source directory to link from