From: | "David M. Fellows" <fellows@×××.ca> | ||
---|---|---|---|
To: | gentoo-user@l.g.o, Meino.Cramer@×××.de | ||
Subject: | Re: [gentoo-user] Record sizes of directories of a directory tree (huge) most efficiently | ||
Date: | Wed, 27 Jan 2016 20:29:02 | ||
Message-Id: | CY1PR0401MB106802FEA05429A88E407060C7D90@CY1PR0401MB1068.namprd04.prod.outlook.com | ||
In Reply to: | [gentoo-user] Record sizes of directories of a directory tree (huge) most efficiently by Meino.Cramer@gmx.de |
1 | On Wed, 27 Jan 2016 17:25:37 +0100 |
2 | Meino.Cramer@×××.de wrote - |
3 | > Hi, |
4 | > |
5 | > I want to determine the size of the contents of all directories of a |
6 | > tree of directories on a hexacore AMD64 machine with 4GB RAM an one |
7 | > harddisk (containing that tree) -- most efficiently (least time |
8 | > consuming). |
9 | > |
10 | > I tried this (cwd = root of that tree): |
11 | > |
12 | > find . -depth -type d -print0 | xargs -0 -P 6 du -bsx {} \; |
13 | > |
14 | > . Is there any to do this faster? |
15 | > |
16 | > Thank you very much in advance for any help! |
17 | > Best regards, |
18 | > Meino |
19 | |
20 | man du |
21 | |
22 | Dave F |
Subject | Author |
---|---|
Re: [gentoo-user] Record sizes of directories of a directory tree (huge) most efficiently | Dutch Ingraham <stoa@×××.us> |