Skip to content

dhananjaylatkar/renamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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> ...