💾 Archived View for freeshell.de › tldr › rename.gmi captured on 2023-09-28 at 16:51:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

rename

Rename multiple files.
NOTE: this page refers to the command from the `util-linux` package.
For the Perl version, see `file-rename` or `perl-rename`.
Warning: This command has no safeguards and will overwrite files without prompting.

More information.

rename {foo} {bar} {*}
rename -vn {foo} {bar} {*}
rename -o {foo} {bar} {*}
rename {.ext} {.bak} {*.ext}
rename {''} {'foo'} {*}
rename {foo} {foo00} {foo?} && rename {foo} {foo0} {foo??}
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