[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Request: du command - add option to report only on file obje
Re: Feature Request: du command - add option to report only on file objects owned by user/group
Thu, 13 Apr 2017 15:05:51 +0200
> Am 13.04.2017 um 14:54 schrieb Scott L Fields <address@hidden>:
> 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.
> I would like to request an option in "du" to allow only file objects owned
> by a specific user and/or group be shown.
You could use disk quotas for users or groups, without setting an actual limit.
The output of `quota -v` shows the used up space anyway (or `repquota -av` as
Description: Message signed with OpenPGP using GPGMail