Mailing List archive

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

[vdr] Re: How to delete recordings?



Thilo Wunderlich wrote:
> 
> > If you can give me some code that determines that "will be freed"-space
> > I'll gladly include it!
> 
> find /video  -type d -name \*.del -exec du -s {} \; | cut -d " " -f 1 |awk
> 'program to calculate the sum, don't have my awk book handy :) '

Well, we've just gotten rid of the external 'df' call to get the total
amount of free disk space, so I wouldn't want to start with a new external
command for this. I was thinking of some "internal" program code...

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