Re: simple script idea

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



On Sat, Jan 19, 2008 at 11:38:18PM -0800, Robert - elists alleged:
> > 
> > find / \( -uid 46 -o -gid 46 \) -print0 | xargs -0 chown clamav:clamav
> 
> Garrick,
> 
> Thank you, that is pretty slick
> 
> I haven't checked the man page for find like forever...
> 
> Didn't recall ever seeing find via uid or gid

Feel free to dress it up with specific paths and flags like -xdev.

Attachment: pgpJcYe7ZjUKO.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux