On Thu, Oct 08, 2020 at 12:31:34PM -0400, [email protected] 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 <[email protected]>
_______________________________________________
CentOS mailing list
[email protected]
https://lists.centos.org/mailman/listinfo/centos

Reply via email to