Is there a way to rename a lot of files on a progressive way?

https://lemmy.ml/post/1250491

Is there a way to rename a lot of files on a progressive way? - Lemmy

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 try rename: https://www.man7.org/linux/man-pages/man1/rename.1.html

or rename 's/expression/replacement/' filename

select range of episodes per season then add season number (eg S01) in replacement string.

then restart numbering for next set of episodes (eg 01 to 12) and add S02. and so on. more tedious than the gui Rename method but doable.