mirror of https://github.com/CrimsonTome/tldr.git
243 B
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
withto
in the filenames of the specified files:
rename 's/{{from}}/{{to}}/' {{*.txt}}