1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/rename.md
2014-03-04 23:28:29 +11:00

225 B

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