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
You can take a look at “sonarr”, it’s made for managing your tv-shows and it can automatic rename and organize your files, with customizable naming schem.
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.
Dolphin has that ability built in. If you use it, highlight all of the episodes and press f2. Pretty self explanatory from there.