5 nice
-n 20 /home
/andy
/code
/public
/recordtv
/src
/recordtv
--schedule-recordings --delete-old --convert --install-dir /home
/andy
/code
/public
/recordtv
/
7 # Delete files that are older than 14 days old in the "old" directory
9 echo "Deleting old .ts files:"
10 find /home
/andy
/Videos
/Recorded
/old
-name "*.ts" -and -mtime +7 -and -not -name "The_Wire*" -print -delete
13 echo "Moving files to server:"
14 cd /home
/andy
/Videos
/Wii
15 find .
/ -type f
-not -name "*_converting*" -exec /home
/andy
/code
/public
/recordtv
/scripts
/move_to_server.sh
{} ";"