1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 13:26:05 +02:00
tldr/pages/common/rename.md

16 lines
225 B
Markdown
Raw Normal View History

2014-02-23 12:08:04 -05:00
# 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}}`