On Thu, Oct 08, 2020 at 12:31:34PM -0400, cent...@foxengines.net wrote:
> find / -maxdepth 1 -xdev -type d | while read; do du -shx $d; done

If you want to use du to find sparse files, add --apparent-size.

-- 
Jonathan Billings <billi...@negate.org>
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to