Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: ˙so-8859-1?Q?[linux-dvb]_Re:_˙so-8859-1?Q?[linux-dvb]_?vdr_vfat˙to_vfat˙?
- To: "Gernot A. Weber" <gernot@tux-web.de>
- Subject: [linux-dvb] Re: ˙so-8859-1?Q?[linux-dvb]_Re:_˙so-8859-1?Q?[linux-dvb]_?vdr_vfat˙to_vfat˙?
- From: Matthias Weingart <matthias@pentax.boerde.de>
- Date: Wed, 1 Aug 2001 19:21:09 +0200
- Cc: linux-dvb@linuxtv.org
- Content-Disposition: inline
- Content-Transfer-Encoding: quoted-printable
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: mhonarc@limes.convergence.de
- In-Reply-To: <20010728095845.A9060@pentax.boerde.de>; from matthias@pentax.boerde.de on Sat, Jul 28, 2001 at 09:58:45AM +0200
- References: <Pine.LNX.4.33.0107271856270.26830-100000@kopernikus.tux-web.de> <20010728095845.A9060@pentax.boerde.de>
- Sender: linux-dvb-bounce@linuxtv.org
- User-Agent: Mutt/1.2.5i
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 listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index