Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fklingler/tvshow_renamer
Utility to rename TV Show files to a correct format
https://github.com/fklingler/tvshow_renamer
Last synced: 2 months ago
JSON representation
Utility to rename TV Show files to a correct format
- Host: GitHub
- URL: https://github.com/fklingler/tvshow_renamer
- Owner: fklingler
- License: mit
- Created: 2012-11-25T00:12:52.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-30T15:08:48.000Z (about 11 years ago)
- Last Synced: 2024-10-18T08:40:06.813Z (3 months ago)
- Language: Ruby
- Size: 565 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tvshow_renamer is a simple command line utility to rename automagically the tv show files you downloaded to a good format.
Thanks to [skamlet](https://github.com/skamlet) for his work on [tv-show-renamer](https://github.com/skamlet/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.aviWill be renamed like this:
* FamousShow - 05x01.avi
* FamousShow - 05x02.aviInstallation
------------`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.