mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 17:15:32 +02:00
rename.md: add -f flag (#960)
* rename.md: add note about -f flag * rename.md: add -f example
This commit is contained in:
parent
2109e464f7
commit
54a666316e
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,11 @@
|
|||
|
||||
`rename -n {{'s/foo/bar/'}} {{\*}}`
|
||||
|
||||
- Convert filenames to lower case:
|
||||
- Force renaming even if the operation would overwrite existing files:
|
||||
|
||||
`rename -f {{'s/foo/bar/'}} {{\*}}`
|
||||
|
||||
- Convert filenames to lower case (use `-f` in case-insensitive filesystems to prevent "already exists" errors):
|
||||
|
||||
`rename 'y/A-Z/a-z/' {{\*}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue