Add rename.md

waldyrious/alt-syntax
Ford Hurley 2014-02-23 12:08:04 -05:00
parent 39dbcb99b3
commit 5c62362bc1
1 changed files with 15 additions and 0 deletions

15
common/rename.md Normal file
View 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}}`