mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 11:24:56 +02:00
15 lines
225 B
Markdown
15 lines
225 B
Markdown
# 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}}`
|