Sha256: 28cb3440f1e8d2fa9b738d75cd6b9b113ea640ec7d5dd99698f408bc56175260

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

[![Build Status](https://semaphoreci.com/api/v1/skius/movie-cleaner/branches/develop/badge.svg)](https://semaphoreci.com/skius/movie-cleaner)  
# MovieCleaner
Removes media files where there already is a higher resolution

## Prerequisites

* ruby
* A movie library with sub-folders per movie containing different quality files of the movie
* Movie files must have the resolution in the filename (e.g. `It (2017) - 1080p.mkv`)

## Installation

    $ gem install movie_cleaner

## Usage

```
$ movie_cleaner [options]
```

| option | description | example |
|-|-| - |
|`-v`| verbose - omitting this results in a completely `\| bash`-able output of `rm` commands. | |
|`-d,--directory DIRECTORY`| Directory which contains all other movie folders | `-d /home/user/media/movies` |
|`-r,--resolutions res1,res2`| Comma-separated list of resolutions in order of priority | `-r 1080p,720p` |


## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/skius/movie_cleaner.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
movie_cleaner-0.1.2 README.md