I use KRename for renaming multiple files.
Open Source
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
I second krename. Works flawlesly for me.
+1 for krename, otherwise if the new filenames are complex and should be calcolated I use python
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.
krenamer 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 :)
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.
good and fun idea ;)
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.
This can be done natively in Thunar if you happen to use XFCE.
Dolphin has that ability built in. If you use it, highlight all of the episodes and press f2. Pretty self explanatory from there.
Would the tvnamer utility help?
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]