francisl wrote:
How can we get a full directory size (sum of all his data)?
like when we type `du -sh mydir`

Because os.path.getsize('mydir') only give the size of the directory physical representation on the disk.

Have a look at: http://www.pixelbeat.org/scripts/dutop

Pádraig.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to