Make sure the server directory exists before copying a video into it.
[recordtv.git] / scripts / move_to_server.sh
blobcf1579615c8995ac6e0b893bfdf8d143504c6ac1
2 echo $1
3 ssh 10.0.1.8 mkdir -p "Videos/Wii/$1"
4 ssh 10.0.1.8 rmdir "Videos/Wii/$1"
5 scp -q "$1" "10.0.1.8:Videos/Wii/$1" && rm "$1"