Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 652 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 652 Bytes

renamer

Simple CLI media rename utility

Installation

Clone repo and copy renamer script in your path.

$ git clone https://github.com/dhananjaylatkar/renamer.git
$ mkdir -p ${HOME}/.local/bin
$ echo "export PATH=${HOME}/.local/bin:${PATH}" > ~/.zshrc && source ~/.zshrc
$ echo "export PATH=${HOME}/.local/bin:${PATH}" > ~/.bashrc && source ~/.bashrc
$ ln -sf ${PWD}/renamer/renamer ${HOME}/.local/bin/renamer

Usage

$ export TMDB_API_KEY=<your_key>

# rename tv shows
$ renamer tv <dest_dir> <src_file1> <src_file2> <src_dir1> ...

# rename movies
$ renamer mov <dest_dir> <src_file1> <src_file2> <src_dir1> ...