

Once you have the terminal open, type the following command: $ mv įor instance, if you want to rename a directory named " Temp", located in your home directory, to "Directory" in the same location, you can use the following command: Open up the terminal by using the shortcut " Alt + Ctrl + T". You can also use the " mv" command in the terminal to rename a file or directory. There is no built-in rename command in Ubuntu. Renaming a directory using the "mv" command

Once you apply the sequence, you can sort the name by ascending and descending order.Ĭlick on rename in the upper right corner of the dialog box to apply the changes.ģ. Then, Enter the consistent part of the name in the textbox.Ĭlick on the " Add" button in front of the textbox, to select your desired sequence. If you require to rename multiple folders into a sequence, the file explorer in Ubuntu can help you greatly. Renaming multiple folders via file explorer Using it you can navigate to your desired directory, right-click on it, click on " Rename" and enter your desired name for the directory.Ģ. Like Windows, you get a file explorer in Ubuntu as well. Similar to its mainstream cousin, Ubuntu now features a very user-friendly GUI, which has made it relatively easier to use compared to its earlier iteration.

Renaming a directory in Ubuntu via Nautilus File Explorer In this context, you will see that there are multiple ways to rename a directory in Ubuntu 20.04.ġ. Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform related Linux files and directories queries. Sometimes, you may need to create temp directories that might need renaming later, or you might want to rename a directory once you are done with a project. Any Ubuntu Linux systems user knows how important it is to keep your directories clean and structured, for effective and efficient access to them.
