1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:22:08 +02:00
tldr/pages/osx/rename.md
2022-02-14 08:21:43 -03:00

243 B

rename

Rename a file or group of files with a regular expression. More information: https://www.manpagez.com/man/2/rename/.

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

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