I know how to recurse (not re-curse) through a directory structure and get file info etc... e.g. this or that ;)
My question is; is there a more efficient way to do this?
This works well on a 2Gb drive but these days we are using 2Tb and more. I would like to only get the filesize of each file (even the sum of all files in a directory would help). Can one read the OS's disk structure file/data somewhere rather than traversing the whole disk? (Btw, what is the apostrophe rule for abbreviations like OS?)
Thank you.