1 2 3 4 5 6 7 8 9
#!@zsh@/bin/zsh base=$(basename $0) suffix=${base##*.} printf "%d\n" "$1" > @queueDir@/mediaspace.$suffix echo > @queueDir@/queuesize.$suffix update-queuesize.$suffix