I have 291 episodes named tv.show.01.mp4 to tv.show.291.mp4 and i want rename them to be named like Tv Show Episode S01E01.mp4. I use Linux so please suggest only FOSS compatible programs
krenamer can do this. It just is a regex front end. You could do it with a shell script too.
That’s what i started using :)
I use KRename for renaming multiple files.
I use nomino for this purpose.
Why not just do this with a for loop in the terminal? I don’t think you need to over complicate it by downloading another program.
how can you identify season from the file name?
One approach: Look up what TV show has 291 episodes; land on this Wikipedia page which gives you the season lengths.
good and fun idea ;)
There are various GUI tools (eg., gprename, krename) but I prefer qmv, a CLI tool from the renameutils package. It opens filenames into a vim (or your default editor) session, with which you can use global regex search/replace commands to rename files.
Please don’t use spaces in your *nix filenames, that is just bad. To answer your question, use a bash script. Chatgpt can probably even make it for you if you don’t know how to write it.
This can be done natively in Thunar if you happen to use XFCE.