[mythtv-users] Record, flag commercials, then move to NAS
Don Lewis
dl-mythtv at catspoiler.org
Sun Feb 12 19:10:01 UTC 2012
On 12 Feb, R. G. Newbury wrote:
> On 02/10/2012 10:14 PM, Marco Quezada wrote:
>
>> Thanks, I will look into the rsync command. I would like to mention that in
>> the script I posted above that the mount point for the destination is at
>> /data so that as mentioned earlier the move will fail if the directory is
>> not mounted. Also, the script adds the slashes to the path in case they
>> were not specified when the script was called. I will also look into the
>> ionice and size allocation.
>>
>> -Marco
>
> Rsync is definitely what you want to use. It has a number of switches to
> check for existing files, over-write/ignore, delete when moved, even
> delete dest before move (for overwriting a new file with the same name:
> good for daily recordings) etc.
I use rsync for moving recordings between drives when I upgrade a drive
to something larger. I use the --bwlimit switch to slow down the copy
so that it doesn't interfere with in-progress recordings or playback.
More information about the mythtv-users
mailing list