Git Product home page Git Product logo

tvshow_renamer's Introduction

tvshow_renamer is a simple command line utility to rename automagically the tv show files you downloaded to a good format.

Thanks to skamlet for his work on tv-show-renamer, the java utility upon which I have based my work.

Feel free to contribute!

Example

Files like these ones:

  • FamousShow.S05E01.DVDRip.XviD-BLAH.avi
  • FamousShow.S05E02.DVDRip.XviD-BLAH.avi

Will be renamed like this:

  • FamousShow - 05x01.avi
  • FamousShow - 05x02.avi

Installation

gem install tvshow_renamer

Usage

tvshow_renamer [options] file|directory ...

You can specify many files to rename.

Options

  • -n TVSHOW_NAME or --name TVSHOW_NAME
    This option defines the TV show name used to rename the files. If the option is not present, the name will be asked first.

  • -f FORMAT or --format FORMAT
    This option defines the format for the new filenames.
    $n will be substitued by the TV show name, $s by the season number, $e by the episode number.
    The default format is : $n - $sx$e.

  • -l FILENAME or --log FILENAME
    This option makes the utility create a file inside the same directory as the renamed files containing the old and new names of the files. It can be useful to keep the episode or version names.

  • -r or --recursive
    If any directory is passed as parameter, this option makes the utility look recursively inside directories for files to rename.

tvshow_renamer's People

Contributors

fklingler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

heliostatic

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.