Add example.
This commit is contained in:
parent
6c6fb31b7b
commit
eb7035c8d5
10
README.md
10
README.md
|
|
@ -16,13 +16,21 @@ To use `rmv`, you need to specify the path to the directory where the files to b
|
|||
|
||||
Here is an example usage:
|
||||
|
||||
|
||||
```shell
|
||||
$ rmv --path /path/to/files --pattern "S(\d+)E(\d+).*\.(...)" --replacement "Season \1 Episode \2.\3" --wildcard "*.mkv"
|
||||
```
|
||||
|
||||
This will match all filenames in the directory that match the pattern `"S(\d+)E(\d+).*.(...)"` and replace them with the pattern `"Season \1 Episode \2.\3"`. Only files with the `".mkv"` extension will be considered.
|
||||
|
||||
```shell
|
||||
mv "Not Warez - S01E16 - HDTV-720p.mkv" "Season 01 Episode 16.mkv"
|
||||
mv "Not Warez - S01E17 - HDTV-720p.mkv" "Season 01 Episode 17.mkv"
|
||||
mv "Not Warez - S01E18 - HDTV-720p.mkv" "Season 01 Episode 18.mkv"
|
||||
mv "Not Warez - S01E19 - HDTV-720p.mkv" "Season 01 Episode 19.mkv"
|
||||
mv "Not Warez - S01E20 - WEBDL-1080p.mkv" "Season 01 Episode 20.mkv"
|
||||
mv "Not Warez - S01E21 - WEBDL-1080p.mkv" "Season 01 Episode 21.mkv"
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
Here are the available options:
|
||||
|
|
|
|||
Loading…
Reference in New Issue