From eb7035c8d52e1ec5d429bd8acb544e21e73af79c Mon Sep 17 00:00:00 2001 From: Pedro de Oliveira Date: Sun, 7 May 2023 20:22:45 +0100 Subject: [PATCH] Add example. --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 651cbe9..db5cd17 100644 --- a/README.md +++ b/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: