Linux lndir command
The Linux lndir command is used to link directory contents.
Running the lndir command creates corresponding symbolic links for all the files and subdirectories under the source directory in one go.
Syntax
lndir [-ignorelinks][-silent][源目录][目的目录]
Parameters:
- -ignorelinks directly create symbolic links of symbolic links.
- -silent do not display the command execution process.
Example
Create links for all files or subdirectories under a directory:
lndir /home/uptech abc
Linux Command Reference