Change over to converting to mp4 files.
[recordtv.git] / cronscripts / recordtv-schedule
blob74685f5b16e5cf51adc79b5a817b9dc5c7f5163c
1 #!/bin/sh
3 df -h / /home /backup
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
8 echo
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
12 echo
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 {} ";"