GNU bug report logs - #63144
du doesn't show size for all files/folders specified on the command line

Previous Next

Package: coreutils;

Reported by: Sorin Suciu <zarzare <at> gmail.com>

Date: Fri, 28 Apr 2023 11:06:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sorin Suciu <zarzare <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: du doesn't show size for all files/folders specified on the command
 line
Date: Fri, 28 Apr 2023 12:42:47 +0300
[Message part 1 (text/plain, inline)]
Hi,

When specifying multiple entries on the command line if one of the file
folders is a subfolder of a previous parameter it will not show any
information about it. This is relevant when using max-depth.
Ex:
du -sh folder folder/subfolder
Will only show one entry which is the size of folder. If order is reversed
du -sh folder/subfolder folder will work as expected.
Another example:
du -sh .*
This will only show sizes for . and .. everything else being in the current
folder being a subfolder will not work.

Have a nice day,
Sorin.
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.