Bash shell script to run HandbrakeCLI in batches. Can accept individual filenames or directories (which will then be search recursively). Several constant values can be changed at the top of the script
Usage
handbrake_batch.sh "/home/user/file.avi" "/home/usr/my_videos_directory"