1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/osx/rename.md
2020-11-10 12:44:47 +08:00

168 B

rename

Rename a file or group of files with a regex.

  • Replace from with to in the filenames of the specified files:

rename 's/{{from}}/{{to}}/' {{*.txt}}