Skip navigation.
 
mlRe: Obtaining the size of a directory
FROM : Freek Dijkstra
DATE : Mon Oct 18 16:49:46 2004

On 18-10-2004 13:49, "Dominik Freyer" <<email_removed>> wrote:

> In the meantime I found a BSD Command 'du -hs' which can give me very
> fast the correct directory size.


Yes, though you may want to use 'du -ks' rather then -h to get machine
interpretable output. See man page for details.

By the way: I think du also just traverse the directories recursively, but
apparantly is very fast in doing so.

Regards,
Freek

Related mailsAuthorDate
mlObtaining the size of a directory Dominik Freyer Oct 18, 10:40
mlRe: Obtaining the size of a directory Daniel Todd Currie Oct 18, 13:04
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 13:49
mlRe: Obtaining the size of a directory Daniel Todd Currie Oct 18, 14:05
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 14:15
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 14:20
mlRe: Obtaining the size of a directory Max Barel Oct 18, 14:22
mlRe: Obtaining the size of a directory Patrick Machielse Oct 18, 15:40
mlRe: Obtaining the size of a directory Freek Dijkstra Oct 18, 16:49
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 17:21
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 20:58
mlRe: Obtaining the size of a directory Kevin Ballard Oct 19, 07:15
mlRe: Obtaining the size of a directory Dominik Freyer Oct 19, 14:14
mlRe: Obtaining the size of a directory Jacob Chapa Oct 19, 16:38