Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
Re: [opensuse] faster way to get total dir size besides du?
On 03/05/2012 09:31 PM, David C. Rankin wrote:
All,

Does anyone have a favorite way to get the total directory size besides
running 'du -hcs'? With directories with many files, du is just too slow.
Even
a quick rough hack that is within 10% would be fine for taking a quick look
to
find which directory is hogging all the space.

Any favorites here?

The following doesn't sum up the directory totals,
but to find big files, you may want to try find, e.g.

find . -size +20M -ls

Have a nice day,
Berny
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References