Add rename.md

This commit is contained in:
Ford Hurley 2014-02-23 12:08:04 -05:00
parent 39dbcb99b3
commit 5c62362bc1

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}}`