Answers for "bash symlink everything in a directory"

1

bash symlink everything in a directory

# Basic syntax:
ln -s /path/to/directory/* /path/to/symlinks/
# Where:
#	- The /path/to/directory/ is where the real files are stored
#	- The /path/to/symlinks/ is where the symlinks will be created
#	- -s means symlink
# Note, I also like to add the -f and -i flags which remove existing
#	destination files and prompt before replacement
Posted by: Guest on July-22-2021

Code answers related to "bash symlink everything in a directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language