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

[no subject]



    Ryan> Hello all, Is it possible to perform a recursive chown but
    Ryan> exclude one particular directory?  If so, how would it be
    Ryan> done?  I have yet to find any info on this online so I
    Ryan> figured I would ask...

Look Ma, no perl!

find top \( -name toexclude -prune \) -o -print | xargs chown blah


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00725.html">[ale] OT: HTML, Forms and Buttons?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00727.html">[ale] OT: HTML, Forms and Buttons?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00713.html">[ale] chown options</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00715.html">[ale] Allright, folks...</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00726"><strong>Date</strong></a></li>
<li><a href="threads.html#00726"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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