mirror of
https://github.com/SinTan1729/movie-rename.git
synced 2024-12-25 19:58:36 -06:00
Added info about installation
This commit is contained in:
parent
04af34e3c3
commit
7e833a4ed0
1 changed files with 9 additions and 4 deletions
13
README.md
13
README.md
|
@ -1,12 +1,17 @@
|
|||
# movie-rename
|
||||
|
||||
## A simple tool to rename movies, written in Rust.
|
||||
### A simple tool to rename movies, written in Rust.
|
||||
|
||||
This is made mostly due to [mnamer](https://github.com/jkwill87/mnamer) not having support for director's name, and partly because I wanted to try writing something useful in Rust.
|
||||
|
||||
The expected syntax is:
|
||||
## Installation
|
||||
Install from [AUR](https://aur.archlinux.org/packages/movie_rename), my personal [lure-repo](https://github.com/SinTan1729/lure-repo) or download the binary from the releases.
|
||||
|
||||
`movie_rename <filename(s)> [-n|--dry-run] [-d|--directory] [-h|--help] [-v|--version]`
|
||||
## Notes
|
||||
|
||||
- The expected syntax is:
|
||||
|
||||
`movie_rename <filename(s)> [-n|--dry-run] [-d|--directory] [-h|--help] [-v|--version]`
|
||||
- There needs to be a config file named movie_rename.conf in your $XDG_CONFIG_HOME.
|
||||
- It should consist of two lines. The first line should have your TMDb API key.
|
||||
- The second line should have a pattern, that will be used for the rename.
|
||||
|
@ -14,4 +19,4 @@ The expected syntax is:
|
|||
- Default pattern is `{title} ({year}) - {director}`. Extension is always kept.
|
||||
- Passing `--directory` assumes that the arguments are directory names, which contain exactly one movie and optionally subtitles.
|
||||
|
||||
I plan to add more variables in the future. Support for TV Shows will not be added, since [tvnamer](https://github.com/dbr/tvnamer) does that excellently.
|
||||
- I plan to add more variables in the future. Support for TV Shows will not be added, since [tvnamer](https://github.com/dbr/tvnamer) does that excellently.
|
Loading…
Reference in a new issue