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

  • Synapse@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    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.

  • CMDR_Horn@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Dolphin has that ability built in. If you use it, highlight all of the episodes and press f2. Pretty self explanatory from there.

  • KOtBu@mander.xyz
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    In zsh you can use zmv for this. Another command line solution is find but it’s a bit harder to figure out the correct command in my experience.

  • gmg@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    There must be a million utilities to do this (try searching “linux mass rename”), including ones that allow you to rename media files based on their metadata… each works in different ways, so you’ll have to look yourself for one that fits you (personally, I like the ones who open a text editor with the file names and you just edit them).

    If you use KDE (DK about other environments) and only need a progressive counter, the simplest way is just select the files in dolphin, hit F2 and enter a pattern like “Tv Show Episode S01E##.mp4”.

    (of course you can also write a script to rename the files, but I guess you wouldn’t have asked if you were prepared to do so)

  • Redscare867@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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.