[CLUE-Tech] bash - find, xargs, chmod
djperkins at americanisp.net
djperkins at americanisp.net
Fri Nov 22 09:21:20 MST 2002
> On Thu, 2002-11-21 at 22:41, Dennis J Perkins wrote:
> > Lynn Danielson wrote:
> > >
> > > find -type d -exec chmod 2770 {} \;
> >
> > .... I wasn't aware, however, that if I left out the starting
> > directory, that find would use the current directory.
>
> Opps, my mistake. Find doesn't use the current directory
> by default, I simply left out the "." for current path.
>
> Lynn
>
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
>
Try it. It appears to work that way, at least the GNU find seems to.
More information about the clue-tech
mailing list