1
submitted 2 years ago by zShxck@lemmy.ml to c/opensource@lemmy.ml

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

top 13 comments
sorted by: hot top controversial new old

krenamer can do this. It just is a regex front end. You could do it with a shell script too.

[-] zShxck@lemmy.ml 1 points 2 years ago

That's what i started using :)

[-] dart@lemmy.fmhy.ml 2 points 2 years ago

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.

[-] zShxck@lemmy.ml 1 points 2 years ago

I know but jellyfin suggest to use that type of nomenclature so...

[-] words_number@programming.dev 1 points 2 years ago

I use nomino for this purpose.

[-] Redscare867@lemmy.ml 1 points 2 years ago

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.

[-] saint@group.lt 1 points 2 years ago

how can you identify season from the file name?

[-] fubo@lemmy.world 1 points 2 years ago

One approach: Look up what TV show has 291 episodes; land on this Wikipedia page which gives you the season lengths.

[-] saint@group.lt 1 points 2 years ago

good and fun idea ;)

[-] malpingu 1 points 2 years ago

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.

[-] bettse@lemmy.ml 0 points 2 years ago

Would the tvnamer utility help?

[-] zShxck@lemmy.ml 1 points 2 years ago

I looked into it yesterday, and i don't think is good for me, I actually need the format S01E01 and not its standard like [1x01]

this post was submitted on 14 Jun 2023
1 points (60.0% liked)

Open Source

32353 readers
1318 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS