#113 ✓resolved
Sandro Tosi

Please include a 'dry-run' option

Reported by Sandro Tosi | April 15th, 2012 @ 03:08 AM | in v2.4

Hello,
it would be useful to have a command-line option (usually called --dry-run) to show the current file name, and what that file would be renamed into; for each filename specified, f.e.:

file1 -> Series - 00x22 - title
file2 -> Series - 00x23 - title

and so on; this way we can be sure the files will be renamed as we want to.

Cheers,
Sandro

Comments and changes to this ticket

  • dbr/Ben

    dbr/Ben April 16th, 2012 @ 01:53 PM

    • State changed from “new” to “open”

    Good idea. There is an interactive UI that does this, but a tvnamer --batch --dry-run option would definitely be good to have

  • dbr/Ben

    dbr/Ben April 16th, 2012 @ 01:59 PM

    • Milestone set to v2.4
    • Milestone order changed from “186731” to “0”
  • Sandro Tosi
  • dbr/Ben

    dbr/Ben April 17th, 2012 @ 12:21 PM

    $ touch lost.s01e01.avi
    $ tvnamer lost.s01e01.avi 
    ####################
    # Starting tvnamer
    # Found 1 episode
    ####################
    # Processing file: lost.s01e01.avi
    # Detected series: lost (season: 1, episode: 1)
    TVDB Search Results:
    1 -> Lost [en] # http://thetvdb.com/?tab=series&id=73739&lid=7
    [...]
    Enter choice (first number, ? for help):
    1
    ####################
    Old filename: lost.s01e01.avi
    New filename: Lost - [01x01] - Pilot (1).avi
    Rename?
    ([y]/n/a/q) y
    Renaming
    
    ####################
    # Done
    
  • dbr/Ben

    dbr/Ben August 25th, 2018 @ 01:02 PM

    • State changed from “open” to “resolved”

    --dry-run arg added in tvnamer version 2.5

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages