![]() ![]() Thankfully, we can install it from the official package servers of any Linux distro. The rename command doesn’t come pre-installed. In this guide, check out how to rename files with rename. If you’ve got a lot of directories to rename, and especially if they’re scattered throughout a directory tree, you’re going to need the flexibility of rename. Rename is a powerful batch renaming tool that uses Perl expression to rename multiple files and directories in a single command. If you prefer GUI applications you can use your file browser. Renaming a directory doesn’t need anything more than mv. Our directory tree looks like this before the command.Īnd we can see that all of the matching directories including the nested ones have been renamed.
0 Comments
Leave a Reply. |