Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Question to all Script-Writers



Axel Gruber wrote:
> 
> I just found out this command:
> 
> find `find /video0/ -name 'Dienstag*'` -name '*.rec'
> 
> i get:  /video0/Dienstag/2002-03-26.21:00.99.99.rec
> (i´m proud) :-))) - just a joke...
> 
> My next Problem - how to get the output of this command into $DIR ?

DIR=`find \`find /video0/ -name 'Dienstag*'\` -name '*.rec'`

BTW: since there is apparently always only *one* recording in a day's
directory, why don't you simply do

DIR=/video0/Dienstag/*.rec

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index