[mythtv-users] Symlinks instead of storage groups

Michael T. Dean mtdean at thirdcontact.com
Mon Apr 30 12:32:55 UTC 2007


On 04/30/2007 07:08 AM, migmog wrote:
> On 30/04/07, Oliver Brown <galaxiaguy at googlemail.com> wrote:
>   
>> I'm using a version of MythTV without storage groups and would like to add
>> another hard drive. Could I just move some of the files to the new drive and
>> leave symlinks in their place? I'm guessing this would mean the Myth
>> wouldn't be able to delete the files (it would just delete the links) but I
>> can get round that by just moving stuff I know I want to keep (using the
>> original recordings directory like an inbox).
> Yes, I've done this on my 0.19(ish) system, and it does work. I
> believe there is an option to follow symlinks when deleting.
>
> You can also create links automatically using mythrename.pl, which is
> in the contrib directory.

mythrename.pl creates links pointing to the files (or links) in the 
recordings directory.

myth.archive_job.pl creates links within the recordings directory 
pointing to a file that's not in the recordings directory.

myth.archive_job.pl is the one you want Oliver.

Mike


More information about the mythtv-users mailing list