Created
April 27, 2015 03:27
-
-
Save sirtimbly/6831111e3a255dda4781 to your computer and use it in GitHub Desktop.
Hazel Handbrake conversion bash script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
outdir=${$1%/*} | |
filename=${s##*/} | |
filename=${filename%.*} | |
output_filename="$outdir/$filename.m4v" | |
HandBrakeCLI -i $1 -o $output_filename --preset="Normal" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment