[ale] chown options

Ryan Fish FishR at bellsouth.net
Wed Jan 19 11:17:09 EST 2005


So (pardon the relative newbie here please), would I just add this to the
line performing the recursive chown as in?:

chown -R UID.GID /a/b/c ; find .-print |grep /d/e |xargs -n 10 chown
UID2:GID2

OR, would I need to place this on a separate line?

Thank you.
-Ryan

----- Original Message ----- 
From: "Geoffrey" <esoteric at 3times25.net>
To: "Atlanta Linux Enthusiasts" <ale at ale.org>
Sent: Wednesday, January 19, 2005 10:57 AM
Subject: Re: [ale] chown options


> Ryan Fish wrote:
> > Hello all,
> >
> > Is it possible to perform a recursive chown but exclude one
> > particular directory?  If so, how would it be done?  I have yet to
> > find any info on this online so I figured I would ask...
>
> find . -print|grep -v $DIRECTORY_TO_EXCLUDE|xargs -n 10 chown foo.bar
>
> -- 
> Until later, Geoffrey
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>




More information about the Ale mailing list