Re: [CentOS] simple script idea

2008-01-20 Thread Garrick Staples
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

RE: [CentOS] simple script idea

2008-01-19 Thread Robert - elists
> > 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 Thanks again! - rh ___ CentO

Re: [CentOS] simple script idea

2008-01-19 Thread Garrick Staples
On Sat, Jan 19, 2008 at 10:21:48PM -0800, Robert - elists alleged: > Anyways, would some kind soul point me in the right direction or help me > create a script that will traverse the proper parts of the filesystem and > grep for files with UID and/or GID 46 please? find / \( -uid 46 -o -gid 46 \)