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 :)
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.
If you want to use spaces in filenames, it’s a good reason to write in something other than shell; although modern shells can be made to work with spaces in filenames safely, it’s still fiddly.
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 ;)


