stow

Symlink manager. Often used to manage dotfiles. See also: chezmoi, tuckr, vcsh, homeshick. More information: https://www.gnu.org/software/stow.

stow --target=path/to/target_directory file1 directory1 file2 directory2

stow --delete --target=path/to/target_directory file1 directory1 file2 directory2

stow --simulate --target=path/to/target_directory file1 directory1 file2 directory2

stow --restow --target=path/to/target_directory file1 directory1 file2 directory2

stow --ignore=regular_expression --target=path/to/target_directory file1 directory1 file2 directory2