Set API key obtained from http://www.omdbapi.com as:
export OMNIAPIKEY="insert_keyhere"
By default the program runs in dry run mode.
Experiment with a few isolated directories in dry run mode to see potential issues.
Once happy, you can invoke the program by adding -dryrun=false.