Rename multiple files.
NOTE: this page refers to the command from the perl-rename
Arch Linux package.
rename {'s/foo/bar/'} {*}
rename -n {'s/foo/bar/'} {*}
rename -f {'s/foo/bar/'} {*}
-f
in case-insensitive filesystems to prevent "already exists" errors):
rename 'y/A-Z/a-z/' {*}
rename 's/\s+/_/g' {*}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB