Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,20 +1,20 @@
# rename
> renames multiple files
> Renames multiple files.
- Change foo to bar in matching filenames
- Change foo to bar in matching filenames:
`rename {{'s/foo/bar/'}} {{*.txt}}`
- Convert to lower case
- Convert to lower case:
`rename -c {{*.txt}}`
- Replace whitespace with underscores
- Replace whitespace with underscores:
`rename --nows {{*.txt}}`
`rename 's/\s+/_/g' {{*.txt}}`
- No action, just show what renames would occur
- No action, just show what renames would occur:
`rename -n {{'s/foo/bar/'}} {{*.txt}}`