mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
Add rename.md
This commit is contained in:
parent
39dbcb99b3
commit
5c62362bc1
15
common/rename.md
Normal file
15
common/rename.md
Normal file
@ -0,0 +1,15 @@
|
||||
# rename
|
||||
|
||||
> renames multiple files
|
||||
|
||||
- Change foo to bar in matching files
|
||||
|
||||
`rename {{'s/foo/bar/'}} {{*.txt}}`
|
||||
|
||||
- Convert to lower case
|
||||
|
||||
`rename -c {{*.txt}}`
|
||||
|
||||
- Replace whitespace with underscores
|
||||
|
||||
`rename --nows {{*.txt}}`
|
Loading…
Reference in New Issue
Block a user