On 04/13/2017 07:54 AM, Scott L Fields wrote: > I'm looking for a convenient way to see the total space a given user > and/or group is using in a directory path. > > Currently, this can be achieved by options like "find <fsname> -user > <user> -print0 | du --from0-files=1", but is not all that efficient for > very large listings.
Why not? It's exactly two processes running, and nicely combines the existing behavior of two tools each doing one thing well (find doing the filtering, du doing the summing on the list). > > I would like to request an option in "du" to allow only file objects owned > by a specific user and/or group be shown. I don't see how this would be any more efficient than the find|du invocation you are already using. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
