I misread this question and thought it was asking something I've needed for a long time. My question is slightly different: how to find directories whose contents exceed a certain size. Is there any *nix way to do this?
|
will give you output like:
or, to print just the names:
|
|||
|
|
|
Does |
|||||
|
|
A couple expansions on Peter Westlake's answer:
One more point: If you want the output sorted by directory size, pipe it through sort -n, which will sort the output numerically (the -n) and default to using the first column (the directory size). |
|||
|
|