Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Slightly OT: How to share two video directories ?
Hi,
Thanks for your suggestions. My solution for now is a script which
mounts the video directory of the other video machine to e.g. /mnt/VDR.
Then it searches for all directories in this directory and creates links
for that in the video directory - excluding the directories which show
to the own machine.
I hope you understand what I mean, but now it works for me.
The script looks like that:
> #! /bin/sh
>
> echo Creating links...
>
> rm /video/VDRBOX/*
> umount -f /VDRBOX
> mount -t smbfs -o username=...,password=... //192.168.x.x/video /VDRBOX
> cd /VDRBOX
>
> for name in *; do
> if [ -d ${name} ]; then
> if [ ${name} != 'VDRBOX' ]; then
> ln -s /VDRBOX/${name} /video/VDRBOX/${name}
> fi
> fi
> done
>
> echo Done !
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index