#!/bin/bash . /etc/profile #su mythtv -c "TERM=vt100 /usr/bin/myth2ipod "$1" "$2" >/tmp/logfile" su mythtv -c "TERM=vt100 /usr/bin/myth2ipod "$1" "$2" " #or to also use commercial flagging cutlist #su mythtv -c "TERM=vt100 /usr/bin/myth2ipod -cut "$1" "$2" >/tmp/logfile"