1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/osx/rename.md

9 lines
243 B
Markdown
Raw Normal View History

2020-11-09 22:44:47 -06:00
# rename
> Rename a file or group of files with a regular expression.
2022-02-14 03:21:43 -08:00
> More information: <https://www.manpagez.com/man/2/rename/>.
2020-11-09 22:44:47 -06:00
- Replace `from` with `to` in the filenames of the specified files:
`rename 's/{{from}}/{{to}}/' {{*.txt}}`