Mailing List archive

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

[vdr] Re: How to delete recordings?



Klaus.Schmidinger@cadsoft.de(Klaus Schmidinger)  06.04.02 14:38

Once upon a time Klaus Schmidinger shaped the electrons to say...

>Rainer Zocholl wrote:
>>
>>>Also, if you delete a recording by accident, you still have a chance
>>>of getting it back by renaming the directory from *.del back to
>>>*.rec.
>>
>> Ok, then it might be sufficient/possible that the
>> "free disk display" adds this "will be freed"-space to the "free
>> disc" display?
>>
>> Or do you see an unwanted sideeffect?

>If you can give me some code that determines that "will be
>freed"-space I'll gladly include it!

Wouldn't it be possible to make a "du -s *.del" or so on the 
directories namend ".del" ? 

Or move all directories/files to be deleted to a "del" directory
to avoid a lengthly "find" instead of renaming each single file?

That would allow to view trash can contents too and to implement
-someday- an easy an fast "undelete" too.

The free disc estimate would be a single "du -s /video/del"
to add the "real" volume.



Rainer



Home | Main Index | Thread Index