Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-18 00:20:54 +00:00
parent 5e29c3e5bb
commit 83af6b3c72
22 changed files with 325 additions and 29 deletions

View File

@@ -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 ...}}`