Program to copy recorded TV to server

Soldato
Joined
18 Oct 2002
Posts
5,586
Location
Stone, Staffordshire
I'm looking for a recommendation for an app to run on my windows 7 media centre.

I want it to monitor the recorded TV folder and when it spots that the files isn't being written anymore it moves it onto my WHS.

Anyone doing anything similar?
 
Moves it or copies it?

If its moving it can you not just change your recorded TV directory to the server directory?
 
If you use Robocopy's move switch, it will fail if the file is still open/locked/being written to. So you could have a simple batch script like:

move-recorded-shows.bat
Code:
robocopy C:\source \\server\destination /MOVE /S /R:1 /W:10

/MOVE will delete the files and directories at the source after they have been copied to the destination
/S tells robocopy to copy all subdirectories it may come across
/R:1 on any file it can't copy it will retry once
/W:10 waits 10 seconds before retrying

You could set up a Scheduled Task to fire the batch script at regular intervals, say once an hour. You can adjust the numbers for the /R and /W switches if you would like robocopy to try several times before giving up.
 
Back
Top Bottom