Click to See Complete Forum and Search --> : Find files banes on group GID


acid45
12-03-2007, 03:10 PM
I would like to find all files with a certain group on them. I can't think of anything other than doing a recursive listing and using grep to get the GID and hope there aren't many files with that text in the path/filename.

ph34r
12-03-2007, 03:34 PM
find / -group foo


will find all files owned by group foo.

Amazing whats in the man pages....

shadebug
12-03-2007, 03:46 PM
I dunno, making a makeshift searching script is far more 1337

bwkaz
12-03-2007, 07:48 PM
shadebug: http://www.catb.org/~esr/writings/unix-koans/ten-thousand.html

:p