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

8 lines
243 B
Markdown

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