[mythtv-users] Symbolic Links (complete n00b question)

Stuart Larson halcyon at obfus.com
Tue Mar 14 16:55:05 UTC 2006


> Hi All,
>
>   This is probably a simple question, but I couldn't figure the right
> combination of keywords to get google to give me the answer :)  I've
> got 2 hard drives I'd like to use for Myth, one mounted at
> /myth/recordings, the other at /myth/backups.  How do I link
> everything in the /myth/backups folder with the /myth/recordings
> folder?
>
> Chris
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

You could link /myth/backups to a link in /myth/recordings like:

cd /myth/recordings
ln -sf /myth/backups ./backups

That will put a link (directory) in /myth/recordings called backups that's
linked to /myth/backups.  If you want the content of backups in recordings
without a link, not sure how you'd do that...  Check on the man page for
ln, though, I may have reversed the options.



More information about the mythtv-users mailing list