[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jan 19 14:02:13 2005 -->
- <!--x-from-r13: rfbgrevp ng 3gvzrf25.arg (Urbsserl) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 043501c4fe3e$5bfb9ba0$6603a8c0@win2kpro1 -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 044e01c4fe42$383376d0$6603a8c0@win2kpro1 --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] chown options -->
- <li><em>date</em>: Wed Jan 19 14:02:13 2005</li>
- <li><em>from</em>: esoteric at 3times25.net (Geoffrey)</li>
- <li><em>in-reply-to</em>: <044e01c4fe42$383376d0$6603a8c0@win2kpro1></li>
- <li><em>references</em>: <043501c4fe3e$5bfb9ba0$6603a8c0@win2kpro1> <<a href="msg00712.html">[email protected]</a>> <044e01c4fe42$383376d0$6603a8c0@win2kpro1></li>
- <li><em>subject</em>: [ale] chown options</li>
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>