commands.sh

stow

all

Symlink manager. Often used to manage dotfiles. See also: `chezmoi`, `tuckr`, `vcsh`, `homeshick`.

More info →

Options (4)

-t, --targetboolean

Symlink all files recursively to a given directory

Example: stow {{[-t|--target]}} {{path/to/target_directory}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
-D, --deleteboolean

Delete symlinks recursively from a given directory

Example: stow {{[-D|--delete]}} {{[-t|--target]}} {{path/to/target_directory}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
-n, --simulateboolean

Simulate to see what the result would be like

Example: stow {{[-n|--simulate]}} {{[-t|--target]}} {{path/to/target_directory}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
-R, --restowboolean

Delete and resymlink

Example: stow {{[-R|--restow]}} {{[-t|--target]}} {{path/to/target_directory}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}

Examples (5)

Symlink all files recursively to a given directory

stow [-t|--target] path/to/target_directory path/to/file_or_directory1 path/to/file_or_directory2 ...

Delete symlinks recursively from a given directory

stow [-D|--delete] [-t|--target] path/to/target_directory path/to/file_or_directory1 path/to/file_or_directory2 ...

Simulate to see what the result would be like

stow [-n|--simulate] [-t|--target] path/to/target_directory path/to/file_or_directory1 path/to/file_or_directory2 ...

Delete and resymlink

stow [-R|--restow] [-t|--target] path/to/target_directory path/to/file_or_directory1 path/to/file_or_directory2 ...

Exclude files matching a `regex`

stow --ignore=regex [-t|--target] path/to/target_directory path/to/file_or_directory1 path/to/file_or_directory2 ...
made by @shridhargupta | data from tldr-pages