RE: [Zope-dev] disk usage of folder and subtree?
8 Apr
1999
8 Apr
'99
6:08 p.m.
This isn't implimented. We have tought about the possiblities of a quota mechanism (which is harder than it sounds, because of the overhead of checking size limits on *every* request), but it sounds like what your looking for is the Zope equivalent of the UINX 'df' command. You can take a look at the find machinery, and then add a __len__ method to *every* object and put the two together to make a 'df' like method for OFS.Folder.
Ugh. I feel like a UNIX newbie. I meant 'du -s' not 'df'. -Michel
Good Luck! :)
Yeah I'll need it.
-Michel
9883
Age (days ago)
9883
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michel Pelletier