Article View: comp.sys.mac.advocacy
Article #631Re: Mac OS Free Space - What the HECK?
From: Lawrence D’Oliveiro
Date: Tue, 20 Oct 2026 20:26
Date: Tue, 20 Oct 2026 20:26
44 lines
2588 bytes
2588 bytes
On Tue, 20 Oct 2026 22:17:33 +0200, John Bokma wrote:
> On 20/10/2026 22:05, Lawrence D’Oliveiro wrote:
>>
>> ... whereas I am thinking of “du”, which lets you drill down into
>> individual directories.
>
> Clear. The command du comes with macOS:
>
> ❯ which du
> /usr/bin/du
>
> tumblelog on master via 🐪 v5.34.3 via 🐍 v3.14.8
> ❯ du -hs *
> 16K CHANGELOG.md
> 4.0K LICENSE
> 12K README.md
> 52K __pycache__
> 0B htdocs
> 4.0K perl.Dockerfile
> 4.0K python.Dockerfile
> 4.0K requirements.txt
> 4.0K sass.Dockerfile
> 8.0M screenshots
> 68K styles
> 4.0K tumblelog-tags.html
> 4.0K tumblelog-tags.md
> 4.0K tumblelog.html
> 4.0K tumblelog.md
> 48K tumblelog.pl
> 44K tumblelog.py
>
> Quite handy.
The GNU coreutils version has this handy feature:
ldo@hypatia:projects> du -ks blender
6012192 blender
ldo@hypatia:projects> du -ks blender/.git blender
4782896 blender/.git
1229296 blender
If a directory contains subdirectories which have already been summed,
it excludes them from the sum.
Technical Details
Message-ID:
<11b8ipb$3b48o$5@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11b0ob8$jqnj$1@dont-email.me> <11b3dbg$1gn3l$3@dont-email.me> <11b5921$24nvo$1@dont-email.me> <11b6igp$2k9iq$1@dont-email.me> <6ad7712e$1$24$882e4bbb@reader.netnews.com> <11b7s41$32eam$1@dont-email.me> <11b8hj6$3b48o$2@dont-email.me> <11b8i8t$3bjeb$2@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.sys.mac.advocacy,comp.os.linux.advocacy Subject: Re: Mac OS Free Space - What the HECK? Date: Tue, 20 Oct 2026 20:26:19 -0000 (UTC) Organization: A noiseless patient Spider Lines: 44 Message-ID: <11b8ipb$3b48o$5@dont-email.me> References: <11b0ob8$jqnj$1@dont-email.me> <11b3dbg$1gn3l$3@dont-email.me> <11b5921$24nvo$1@dont-email.me> <11b6igp$2k9iq$1@dont-email.me> <6ad7712e$1$24$882e4bbb@reader.netnews.com> <11b7s41$32eam$1@dont-email.me> <11b8hj6$3b48o$2@dont-email.me> <11b8i8t$3bjeb$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 20 Oct 2026 20:26:20 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3510552"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VBJJTKFgScO6Y7vcCt8ek"; posting-host="bb545ab4c326d2444d7ace2ad38ea6bc" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:Uz2DmIUFMT5FL/DlxpZxLZ+ZCko= sha256:9qBAggIOBV2R4S72xt+JNHccVdkxmFc1tLEXaDr1TEI= sha1:s9bVjyzN6SzZ3iyL+RTX8ifx07I= sha256:rQVJX3FOvA1fPo5cdArQiwB3uQPDNavf6Dw9o6RE+fY=