Mailing List archive

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

[vdr] Re: How to delete "now" the recordings?



On Mon, Jan 06, 2003 at 12:01:40AM +0100, Gregoire Favre wrote:
> On Sun, Jan 05, 2003 at 11:52:53PM +0100, Matthias Schniedermeyer wrote:
> > On Sun, Jan 05, 2003 at 11:48:36PM +0100, Gregoire Favre wrote:
> > > On Sun, Jan 05, 2003 at 11:38:54PM +0100, Matthias Schniedermeyer wrote:
> > > 
> > > > The correct(tm) command should be this. The other deletes "a bit(tm)" to much. :-)
> > > > 
> > > > find /video -type d -name "*.del" -exec find {} -type l -printf %l\\n \; | xargs rm
> > > 
> > > Even with this one I can't understand: as there is no /video your
> > > command won't do anything at all???
> > > 
> > > The problem is with /video1 and /video2 having the links...
> > 
> > find /video1 /video2 <...>
> 
> ??? in /video1 /video2 you won't find any *.del...
> 
> Thank you very much, I'll do it my way with sed...

The first 2 finds don't need to know that, they only need the first-dir!

Only the rmdir-find needs to know all dirs!




Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index