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
(setopt null_glob; | |
for collection in \ | |
"Very Fast 720p30 --subtitle=none" \ | |
"HQ 720p30 Surround --subtitle=none" \ | |
"Very Fast 480p30 --encoder=x265_10bit --subtitle=none" \ | |
"HQ 1080p30 Surround --encoder=x265_10bit --subtitle=none"; do | |
preset=${collection%% --*} hbargs=${collection#$preset } | |
dest=(/Volumes/galactica/Public/Video/*/"$collection"{,/*}) | |
src=(/Volumes/Nostromo/Rip/Blu*Rip{,/*} /Volumes/Archive*/Video/*/Blu*Rip{,/*}) | |
[[ "$preset" != "*1080*" ]] && src=($src /Volumes/Nostromo/Rip/DVD*Rip /Volumes/Archive*/Video/*/DVD*Rip) | |
out=~/Public/Review/"$collection" | |
cat ~/titles \ | |
| nice ~/go/bin/titlemap --progress --quiet --color --preset "$preset" $(eval echo $hbargs) --outputdir $out $src $dest $out | |
done | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment