this post was submitted on 14 Jun 2023
3 points (71.4% liked)

Open Source

30398 readers
1087 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
 

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
[–] [email protected] 3 points 1 year ago

I use KRename for renaming multiple files.

[–] [email protected] 2 points 1 year ago

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.

[–] [email protected] 2 points 1 year ago (1 children)

how can you identify season from the file name?

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

good and fun idea ;)

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago

Do you have the means to write your own Python script? If so, that would be a simple way to solve your problem.

[–] [email protected] 1 points 1 year ago

I use nomino for this purpose.

[–] [email protected] 1 points 1 year ago

This can be done natively in Thunar if you happen to use XFCE.

[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago

If I was able to do that i would not have asked here lol