[mythtv-users] Using mythlink.pl in a system event.
Thomas Boehm
mythtv-users at lists.boehmi.net
Wed Feb 8 14:32:56 UTC 2012
Zarthan South wrote:
> Thanks
> The only reason I had for wanting to delete the individual links was
> thinking that recreating the links might disturb an in progress video
> playing.
To prevent this from happening, I create the symlinks in a temporary
location and rsync it over to the final destiantion.
/usr/local/bin/mythrename.pl --link /tmp/mythtv --format
%T/%py%pm%pd-%pH%pi-%T%S
rsync -avz --delete /tmp/mythtv/ /var/lib/mythtv/recordings2/
HTH
Thomas
More information about the mythtv-users
mailing list