Feature Request: Show size of folder
haylinmoore opened this issue · 2 comments
haylinmoore commented
Lots of users want to wget my directories but don't how big it will be in advance. How can I set it to show the size of directories?
aperezdc commented
You could run a small JavaScript snippet to add up all the sizes from the files, but I do agree that this might be useful to have in the module itself.
The problem with this is that descending into subdirectories would make serving requests for deep trees of subdirectories slow, and I would rather not make the module slower. Would it be acceptable to have a simple version of the size calculation that only adds the sizes of the files in the directory being currently listed, without counting its subdirectories?
haylinmoore commented
I guess