Hello, On 2019-07-01 12:10 a.m., Peng Yu wrote:
`du -h --max-depth=1` only print directory sizes. Is there a way to print the sizes of both directories and files in a directory?
du -h --max-depth=1 --all
as mentioned in the --help screen:
-d, --max-depth=N print the total for a directory (or file, with
--all) only if it is N or fewer levels below
the command line argument;
regards,
- assaf
