[mythtv-users] Record, flag commercials, then move to NAS

Marco Quezada mellamanjefe at gmail.com
Sun Feb 12 15:14:07 UTC 2012


On Sun, Feb 12, 2012 at 9:52 AM, R. G. Newbury <newbury at mandamus.org> 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.
>
> And add a 'mount' command to ensure that the remote host is available.
> Then grep the output for a failure report and exit the script if found.
>
> Geoff
>
> --
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

Man, this is good stuff, thanks for the ideas, my simple script is
taking better shape :).

-Marco


More information about the mythtv-users mailing list