shownotes-w3m-rice/handbrakecli_function.txt
2012-10-02 20:20:21 -07:00

17 lines
425 B
Plaintext

# just add it to your ~/.bashrc or zshrc
# update version, i think this one is better since,
# it will not try to overwrite files with the same extensions
# just add extra name b4 the extension (filename.ipod5g.mp4)
# loL i learn this the hard way
ipod5g () {
HandBrakeCLI -i "$1" -o "${1%.*}.ipod5g.mp4" --preset="iPod"
}
# old version
ipod5g () {
HandBrakeCLI -i "$1" -o "${1%.*}.m4v" --preset="iPod"
}