mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 18:55:56 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/stow
10
tldr/stow
@@ -12,20 +12,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Symlink all files recursively to a given directory:
|
||||
|
||||
`stow {{[-t|--target]}} {{path/to/target_directory}} {{file1 directory1 file2 directory2}}`
|
||||
`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}} {{file1 directory1 file2 directory2}}`
|
||||
`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}} {{file1 directory1 file2 directory2}}`
|
||||
`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}} {{file1 directory1 file2 directory2}}`
|
||||
`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}} {{file1 directory1 file2 directory2}}`
|
||||
`stow --ignore={{regex}} {{[-t|--target]}} {{path/to/target_directory}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
|
||||
|
||||
Reference in New Issue
Block a user