13 Dec
2018
13 Dec
'18
9:34 a.m.
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