dmwm / cmssh

Interactive shell for CMS experiment
http://cms.cern.ch/
7 stars 2 forks source link

Implement du SE:/path #8

Open vkuznet opened 12 years ago

vkuznet commented 12 years ago

I can implement du SE:/path since it provides me enough information about given path. First I need to create an objects which will hold dir structure. So, it can be DirObject which has the following attributes, list of files with their file size and list of sub-dirs. Then it would be easy to implement sum/total function.