GNU Stow is a CLI/file link farm tool which manages file links - specifically mirroring a structure of files elsewhere by using ln.
It is popular to use when creating a Dotfiles directory.
Stow by default will assume the parent directory is the target directory.
To cleanup links created by Stow:
# clone .dotfiles first using hit
cd .dotfiles
stow /*
Example to stow from .dotfiles directory to your home directory:
stow --dir=~/.dotfiles --target=~/
#or
stow -d ~/.dotfiles -t ~/
To cleanup links created by Stow:
cd .dotfiles
stow -D /*
See also: