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
helpmeDanaScully ( @helpmeDanaScully@zerobytes.monster ) 2•11 months agokrenamer 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 :)
helpmeDanaScully ( @helpmeDanaScully@zerobytes.monster ) 1•11 months ago
synapse1278 ( @synapse1278@lemmy.world ) 2•1 year agoYou 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.
Immortal0861 ( @Immortal0861@beehaw.org ) 2•1 year agoI use KRename for renaming multiple files.
tubbadu ( @tubbadu@lemmy.one ) 1•1 year ago+1 for krename, otherwise if the new filenames are complex and should be calcolated I use python
Higante ( @higante@lemmy.world ) 1•1 year agoI second krename. Works flawlesly for me.
malamignasanmig ( @malamignasanmig@group.lt ) 1•1 year agoyou 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.
CMDR_Horn ( @CMDR_Horn@lemmy.ml ) 1•1 year agoDolphin has that ability built in. If you use it, highlight all of the episodes and press f2. Pretty self explanatory from there.
words_number ( @words_number@programming.dev ) 1•1 year agoI use nomino for this purpose.
I eat words ( @saint@group.lt ) 1•1 year agohow can you identify season from the file name?
Redscare867 ( @Redscare867@lemmy.ml ) 1•1 year agoWhy 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.
If I was able to do that i would not have asked here lol
dart ( @dart@lemmy.fmhy.ml ) 1•1 year agoPlease 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.
Mal ( @malpingu@lemmy.sdf.org ) 1•1 year agoThere 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.