[Solved] Renaming many files at once?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
[Solved] Renaming many files at once?
So I have a folder of TV episodes that I want to rename.
Right now the format of the names is: [Uploader_Name] TV Show 01, same thing for every episode with just a different number at the end.
I want the format to be: TV Show - 01 - Episode name
Is that possible? Or is it possible to do at least the part up until the dash after the number?
Right now the format of the names is: [Uploader_Name] TV Show 01, same thing for every episode with just a different number at the end.
I want the format to be: TV Show - 01 - Episode name
Is that possible? Or is it possible to do at least the part up until the dash after the number?
Last edited by fs0ciety on Sat Mar 30, 2019 6:22 pm, edited 1 time in total.
Re: Renaming many files at once?
GPRename can do that.

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Re: Renaming many files at once?
HI fs0ciety,
Welcome to the wonderful world of Linux Mint and its excellent forum!
It would help to know more about your system setup. If you run "inxi -Fxzd" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.
It sure is possible to do this and there are three really great applications made specifically for doing this:
These and other applications require a Java runtime to be installed. Linux Mint 19 comes with Java 11 installed which a lot of Java applications do work with yet. So I recommend installing Java 8 runtime and making it the default.
To install Java8 runtime (& some other stuff), open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste ("Shift+Insert" or "Ctrl+Shift+v"), repeat for each command.
Make Java 8 the default using the command below
Free - Tweaking4All.com - Rename My TV Series 2
First, search for the show on the left side and select episodes, add your matching folder or files, click rename. Change preferences to what you want before renaming.
https://www.tweaking4all.com/home-theat ... series-v2/
Free - TV Renamer by tvrenamer (easy to use)
- click File in toolbar -> Preferences -> Renaming tab, change to what you want, save. See changes if ok, click rename.
http://tvrenamer.org/
Paid for but great used to be free
FileBot - The ultimate TV and Movie Renamer
https://www.filebot.net/
Hope this helps ...
. .
Welcome to the wonderful world of Linux Mint and its excellent forum!
It would help to know more about your system setup. If you run "inxi -Fxzd" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.
It sure is possible to do this and there are three really great applications made specifically for doing this:
These and other applications require a Java runtime to be installed. Linux Mint 19 comes with Java 11 installed which a lot of Java applications do work with yet. So I recommend installing Java 8 runtime and making it the default.
To install Java8 runtime (& some other stuff), open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste ("Shift+Insert" or "Ctrl+Shift+v"), repeat for each command.
Code: Select all
sudo apt-get install mediainfo mediainfo-gui openjdk-8-jre openjfx wget ffmpeg x264 x265
Code: Select all
sudo update-alternatives --config java
First, search for the show on the left side and select episodes, add your matching folder or files, click rename. Change preferences to what you want before renaming.
https://www.tweaking4all.com/home-theat ... series-v2/
Free - TV Renamer by tvrenamer (easy to use)
- click File in toolbar -> Preferences -> Renaming tab, change to what you want, save. See changes if ok, click rename.
http://tvrenamer.org/
Paid for but great used to be free
FileBot - The ultimate TV and Movie Renamer
https://www.filebot.net/
Hope this helps ...
. .
Last edited by phd21 on Sat Mar 30, 2019 2:49 pm, edited 5 times in total.
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Re: Renaming many files at once?
System:
Host: myname-870-225nd Kernel: 4.15.0-46-generic x86_64 bits: 64
compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.10
Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic
Machine:
Type: Desktop Mobo: HP model: 82F1 v: 1.01 serial: <filter> UEFI: AMI
v: F.04 date: 12/19/2016
CPU:
Topology: Quad Core model: Intel Core i5-7400 bits: 64 type: MCP
arch: Kaby Lake rev: 9 L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24000
Speed: 900 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 899 2: 898
3: 900 4: 900
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: Hewlett-Packard
driver: nvidia v: 390.116 bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 390.116
direct render: Yes
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio
vendor: Hewlett-Packard Sunrise Point-H driver: snd_hda_intel v: kernel
bus ID: 00:1f.3
Device-2: NVIDIA GP107GL High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k4.15.0-46-generic
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
v: kernel port: e000 bus ID: 03:00.0
IF: wlp3s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: 2.3LK-NAPI port: d000
bus ID: 04:00.0
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-3: Microsoft Xbox 360 Wireless Adapter type: USB driver: xpad
bus ID: 1-10:6
Drives:
Local Storage: total: 3.87 TiB used: 1.12 TiB (29.0%)
ID-1: /dev/sda vendor: Samsung model: MZ7LN256HMJP-000H1 size: 238.47 GiB
temp: 26 C
ID-2: /dev/sdb vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB
Optical-1: /dev/sr0 vendor: hp HLDS model: DVDRW GUD1N rev: LD02
dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
ID-1: / size: 233.24 GiB used: 45.30 GiB (19.4%) fs: ext4 dev: /dev/sda2
Sensors:
System Temperatures: cpu: 42.0 C mobo: 27.8 C gpu: nvidia temp: 32 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 28%
Info:
Processes: 220 Uptime: 1d 53m Memory: 7.73 GiB used: 3.26 GiB (42.1%)
Init: systemd runlevel: 5 Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19
inxi: 3.0.27
Host: myname-870-225nd Kernel: 4.15.0-46-generic x86_64 bits: 64
compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.10
Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic
Machine:
Type: Desktop Mobo: HP model: 82F1 v: 1.01 serial: <filter> UEFI: AMI
v: F.04 date: 12/19/2016
CPU:
Topology: Quad Core model: Intel Core i5-7400 bits: 64 type: MCP
arch: Kaby Lake rev: 9 L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24000
Speed: 900 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 899 2: 898
3: 900 4: 900
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: Hewlett-Packard
driver: nvidia v: 390.116 bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 390.116
direct render: Yes
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio
vendor: Hewlett-Packard Sunrise Point-H driver: snd_hda_intel v: kernel
bus ID: 00:1f.3
Device-2: NVIDIA GP107GL High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k4.15.0-46-generic
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
v: kernel port: e000 bus ID: 03:00.0
IF: wlp3s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: 2.3LK-NAPI port: d000
bus ID: 04:00.0
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-3: Microsoft Xbox 360 Wireless Adapter type: USB driver: xpad
bus ID: 1-10:6
Drives:
Local Storage: total: 3.87 TiB used: 1.12 TiB (29.0%)
ID-1: /dev/sda vendor: Samsung model: MZ7LN256HMJP-000H1 size: 238.47 GiB
temp: 26 C
ID-2: /dev/sdb vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB
Optical-1: /dev/sr0 vendor: hp HLDS model: DVDRW GUD1N rev: LD02
dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
ID-1: / size: 233.24 GiB used: 45.30 GiB (19.4%) fs: ext4 dev: /dev/sda2
Sensors:
System Temperatures: cpu: 42.0 C mobo: 27.8 C gpu: nvidia temp: 32 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 28%
Info:
Processes: 220 Uptime: 1d 53m Memory: 7.73 GiB used: 3.26 GiB (42.1%)
Init: systemd runlevel: 5 Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19
inxi: 3.0.27
Re: Renaming many files at once?
Hi fs0ciety,
I updated my last reply.
Ok, you are using Linux Mint Cinnamon v19.1 (64-bit).
I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing.
I updated my last reply.
Ok, you are using Linux Mint Cinnamon v19.1 (64-bit).
I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing.
Last edited by phd21 on Sat Mar 30, 2019 2:50 pm, edited 1 time in total.
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Re: Renaming many files at once?
Go with gprename as suggested by moem
It's a generalist GUI app for pattern based bulk renaming.
Code: Select all
apt install gprename
It's a generalist GUI app for pattern based bulk renaming.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
- vansloneker
- Level 5
- Posts: 585
- Joined: Sat Mar 17, 2018 6:10 am
Re: Renaming many files at once?
My 18.3 has "Bulk Rename" build in that will take you a long way.
For the complicated jobs I use "Bulk Rename Utility", a Windows program that runs good in Wine.
For the complicated jobs I use "Bulk Rename Utility", a Windows program that runs good in Wine.
Unless stated otherwise Mint 18.3-64 XFCE
Re: Renaming many files at once?
Hi fs0ciety,
For renaming TV shows and the like, using an application that was made for it like the ones I mentioned work great.
And, for renaming files in general, the suggestions by others also work great. I would add my two favorite renaming applications "Krename" and "Gwenrename" to the list.
[SOLVED] bulk rename with nemo - Linux Mint Forums
viewtopic.php?f=90&t=279848&hilit=krename
Renaming/numbering files in date modified order - Linux Mint Forums
viewtopic.php?f=18&t=289807&hilit=krename
Hope this helps ...
For renaming TV shows and the like, using an application that was made for it like the ones I mentioned work great.
And, for renaming files in general, the suggestions by others also work great. I would add my two favorite renaming applications "Krename" and "Gwenrename" to the list.
[SOLVED] bulk rename with nemo - Linux Mint Forums
viewtopic.php?f=90&t=279848&hilit=krename
Renaming/numbering files in date modified order - Linux Mint Forums
viewtopic.php?f=18&t=289807&hilit=krename
Hope this helps ...
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Re: Renaming many files at once?
Thanks for the help guys
Re: Renaming many files at once?
Hi fs0ciety,
You are welcome from all of us that replied...
FYI: You can easily create desktop shortcut launcher to Java files (tvrenamer.jar) by right-clicking the desktop select create new launcher browse to the application folder and the Java jar file, then add "java -jar " to the front of that.
You are welcome from all of us that replied...
FYI: You can easily create desktop shortcut launcher to Java files (tvrenamer.jar) by right-clicking the desktop select create new launcher browse to the application folder and the Java jar file, then add "java -jar " to the front of that.
Code: Select all
java -jar /TVRenamer-0.8/tvrenamer.jar
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.