Re: How to find files owned by some user or group?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux