|
From: | Paul Eggert |
Subject: | bug#61884: add an option to du that allows to control which file types are counted |
Date: | Sat, 4 Mar 2023 14:58:25 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
One possibility is for --apparent-size to always count 0 for directories, since 'read' never returns a positive number on directories. That is, we reinterpret --apparent-size to mean "bytes that could be read" rather than "what st_size says".
[Prev in Thread] | Current Thread | [Next in Thread] |