mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 14:02:44 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Dry-run - display which renames would occur without performing them:
|
||||
|
||||
`rename -n {{'s/foo/bar/'}} {{*}}`
|
||||
`rename {{[-n|--nono]}} {{'s/foo/bar/'}} {{*}}`
|
||||
|
||||
- Force renaming even if the operation would remove existing destination files:
|
||||
|
||||
`rename -f {{'s/foo/bar/'}} {{*}}`
|
||||
`rename {{[-f|--force]}} {{'s/foo/bar/'}} {{*}}`
|
||||
|
||||
- Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent "already exists" errors):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user