[arch-general] How to find files owned by some user or group?

Peter Nabbefeld peter.nabbefeld at gmx.de
Thu Dec 13 09:34:47 UTC 2018



Am 13.12.18 um 10:28 schrieb Ralph Corderoy:
> Hi Peter,
>
>> how can I find all the files owned by some user or group (in
>> preparation to delete the user/group)?
> find(1).
> See https://wiki.archlinux.org/index.php/Find#Essentials
>
>      sudo find /start1 /start2 \( -user foo -o -group bar \) -ls
>
Thank You! Just thought there might be some easier way, searching for 
every file and checking its attributes is something like brute force, 
IMHO, but obviously the only possible solution ...

Kind regards

Peter


More information about the arch-general mailing list