I really like this. I could have used it at the last 2 places I've been at. The only annoying thing is that it does not handle directories out of the range of the size of a CD.
I know it's easier to say "hey your thingy doesn't do this really neato thing" rather than stating the same, and then giving a solution. Alas I am far from providing solutions, but I though you'd like to know this is a nice little program.
UPDATE:Oh for heavens sake... Had I taken the time to look a little more closely, I'd have seen that changing
du -sk to
du -dk gives a MUCH more granular look at the directory tree below where you invoke the script.
Good stuff!
Very funny Scotty... Now PLEASE beam down my PANTS!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.