1 |
On 01/27/2016 08:25 AM, Meino.Cramer@×××.de wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I want to determine the size of the contents of all directories of a |
5 |
> tree of directories on a hexacore AMD64 machine with 4GB RAM an one |
6 |
> harddisk (containing that tree) -- most efficiently (least time |
7 |
> consuming). |
8 |
> |
9 |
> I tried this (cwd = root of that tree): |
10 |
> |
11 |
> find . -depth -type d -print0 | xargs -0 -P 6 du -bsx {} \; |
12 |
> |
13 |
> . Is there any to do this faster? |
14 |
> |
15 |
> Thank you very much in advance for any help! |
16 |
> Best regards, |
17 |
> Meino |
18 |
> |
19 |
> |
20 |
> |
21 |
> |
22 |
> |
23 |
|
24 |
Did you try `du -cxb .` ? |
25 |
|
26 |
Dan |