[mythtv-users] Exporting files to external HD

Brian Wood beww at beww.org
Tue Jan 9 02:59:18 UTC 2007

On Jan 8, 2007, at 7:52 PM, Steve Weir wrote:

> Hi all,
> Any ideas on the best way to export recordings to an external hard  
> drive,
> from within MythTV? I can do it outside of MythTV no problem, but I  
> don't
> get the file names or any sort of description.
> I have explored a bit with the Archive plugin and such, but I don't  
> want
> to burn them to DVD, I just want to archive the MPG files as they are.
> Any suggestions would be greatly appreciated.

Have a look at myth_archive_job.pl. It's in the contrib directory of  
0.19, I'm assuming it;s still there in 0.20.

This is different from MythArchive, basically it moves the file to a  
different location and replaces it with a symbolic link.

I use it manually but I suppose you could set it up to run as a user  
job from within Myth somehow. You will need to pass the directory and  
the filename to the script.

Make sure that "follow symbolic links" is enabled in your setup so  
the file will be deleted and not just the link. Also, at least on my  
0.19 version, if you run a transcode job after running this script  
the transcoded file will replace the link, leaving the original file  
hanging in the archive location. This may have been correct by now, I  
know it was being worked on.

More information about the mythtv-users mailing list