The next version of Nautilus will include lots of cool new features, including one that lets you rename many files with just a few clicks. Nautilus is the GNOME file manager and the one used in the standard version of Ubuntu, while the default file manager in some environments, like Linux Mint's Cinnamon, is called Nemo. If you want rename files in bulk in Nemo, it is best to use the tool nemo-reborn created by El atareao.
The best thing about this tool is that can be used from Nemo or from any other application compatible with this file manager. The tool is very complete and even allows you to drag and drop files to save us the task of navigating through the menus and looking for which files we want to rename. Here we explain how to install and use nemo-renamer
How to install nemo-renamer for Nemo
In order to install nemo-renamer it will be necessary, if you don't already have it, install the repository of El atareao, update the repositories and then install the tool, which we will achieve by opening a terminal and typing the following commands:
sudo add-apt-repository ppa:atareao/nemo-extensiones sudo apt update sudo apt install nemo-renamer
To be able to use it once installed, you have to restart Nemo. The easiest thing would be to restart the PC, but it is not necessary if we only want to restart an application. The best thing is to open a terminal or use the same one in which we had entered the previous commands and write either "killal nemo" or "nemo -q", both options without the quotes.
How nemo-renamer works
To rename files with nemo-renamer we will have to follow these steps:
- We drag the files that we want to rename to the dialog box.
- We modify the "Pattern" box according to Python syntax as one of the following two examples starting from filename.ext
- {filename} .upper () + {extension} -> FILE_NAME.ext
- {filename} [0: 5] + {extension} -> name.ext
On the other hand, we can also use the following options:
- {iterator} is a counter.
- format_number (pattern, number) is a function that allows us to format numbers.
As we have mentioned previously, another option is to do it via terminal, but sometimes it is more comfortable to do it with a application with GUI. What do you think of nemo-renamer?
Via: the task.
There is an error in the image 😉
Poof, with how beautiful I had been x) I'll have to fix it.
A greeting.
Done. And thanks for the notice, I had not thanked you 😉