tldr/pages/osx/rename.md

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