On Sat, Jul 28, 2001 at 09:58:45AM +0200, Matthias Weingart wrote:
> On Fri, Jul 27, 2001 at 06:59:48PM +0200, Gernot A. Weber wrote:
> > Hi,
> > 
> > I just compiled the current version of vdr. This time I used the VFAT=1
> > option, because I would like to export my files with samba. But now no old
> > recording appears in my archive. Is there a way to rename the old files,
> > so that they are useable or do I have to recompile without the VFAT
> > option?
> 
> #!/bin/sh
> # renamed alle : in . Aufzeichnungsdirectories
> for DIR in `ls -A`
>  if test -d $DIR
>  then
>    echo $DIR
>    cd $DIR
> (for FN in *.rec; do V=cho $FN | sed -e "y/:/./"; mv -i $FN $V  ; done)
>    cd ..
>  fi
> done
> 
> Der Pfad /video (oder wie Deiner halt heisst) muss der aktuelle Pfad sein, wenn Du 
>es startest
> uuups <mode engl on> Path /video must be the current path.

Hope somebody can put this script to the faq? The advantage of it is, that
also all directorynames with a":" inside are also renamed, and so
are accessible by windows (e.g. "StarWars: Episode1", not readable by samba).

M.


--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to