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

[no subject]



I think find may have some exclusion but I'd do something like this:


find . -print | grep -v 'directory' | xargs chown fred.users

(Don't do chown -R this way).



Thus spake Ryan Fish (FishR at bellsouth.net):

>    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...
>    
>    Thank you.
>    -Ryan

> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS             With Dreams To Be A King,
       ALONE.  I speak for              First One Should Be A Man
       no-one else.                       - Manowar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00711" href="msg00711.html">[ale] chown options</a></strong>
<ul><li><em>From:</em> FishR at bellsouth.net (Ryan Fish)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00712.html">[ale] chown options</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00714.html">[ale] chown options</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00778.html">[ale] chown options</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00726.html">[ale] chown options</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00713"><strong>Date</strong></a></li>
<li><a href="threads.html#00713"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>