On Fri, 2002-02-01 at 16:50, Antwan Reijnen wrote:
To achieve du-like behaviour, I guess it would be nice to recurse into sub-folders too :-) It should'nt be too hard either.
it did already :-P
Is there a way to know the size of a ZODB Folder ? Something like "du somefolder" in UNIX ?
for item in folder.objectValues(): ... size = size + item.folder_size(size=size)
---------------------------^ seb
AARGH!!! Of course &-( At 16:53 1-2-02 +0000, you wrote:
On Fri, 2002-02-01 at 16:50, Antwan Reijnen wrote:
To achieve du-like behaviour, I guess it would be nice to recurse into sub-folders too :-) It should'nt be too hard either.
it did already :-P
Is there a way to know the size of a ZODB Folder ? Something like "du somefolder" in UNIX ?
for item in folder.objectValues(): ... size = size + item.folder_size(size=size)
---------------------------^
seb
participants (2)
-
Antwan Reijnen -
seb bacon