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

[no subject]



You wouldn't need anything other than what I posted.  Don't forget the 
'-v' option to grep, otherwise it will do exactly the opposite of what 
you expect.  The grep will be greedy as well.  For example

grep -v foo

Would exclude anything that contained foo.  If the directory you want to 
exlude is not unique to all files, but is to all directories then you 
could use a variation such as:

find . -type d -print|xargs grep -v $DIRECTORY_YOU_DONT_WANT |
	xargs -n 10 chown -R

-- 
Until later, Geoffrey


</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>
<li><strong><a name="00712" href="msg00712.html">[ale] chown options</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00714" href="msg00714.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="msg00749.html">[ale] Making a backup with tar</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00751.html">[ale] OT: HTML, Forms and Buttons?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00717.html">[ale] chown options</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00748.html">[ale] chown options</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00750"><strong>Date</strong></a></li>
<li><a href="threads.html#00750"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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