[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jan 19 16:13:48 2005 -->
- <!--x-from-r13: wnfbaqnl ng jbeyqarg.ngg.arg (Xnfba Rnl) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 043501c4fe3e$5bfb9ba0$6603a8c0@win2kpro1 -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] chown options -->
- <li><em>date</em>: Wed Jan 19 16:13:48 2005</li>
- <li><em>from</em>: jasonday at worldnet.att.net (Jason Day)</li>
- <li><em>in-reply-to</em>: <<a href="msg00761.html">[email protected]</a>></li>
- <li><em>references</em>: <043501c4fe3e$5bfb9ba0$6603a8c0@win2kpro1> <<a href="msg00712.html">[email protected]</a>> <<a href="msg00748.html">[email protected]</a>> <<a href="msg00761.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] chown options</li>
My way only invokes chown once. Using xargs, if I understand it
correctly, will invoke chown N mod 10 times, where N equals the number
of files and subdirectories in the current directory and beneath.
Also, note that I only searched for directories, and did a "chown -R
foo.bar" on each directory, whereas you executed "chown foo.bar" on each
file.
And actually, now that I think about that a little more, my way won't
work at all, unless $DIRECTORY_TO_EXCLUDE is in the current directory.
Thinking a little more, my way will probably be slower, because the
recursive chown will chown everything in subdirectories multiple times.
Ack! Disregard my last post!
Jason
--
Jason Day jasonday at
<a rel="nofollow" href="http://jasonday.home.att.net">http://jasonday.home.att.net</a> worldnet dot att dot net
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00778" href="msg00778.html">[ale] chown options</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--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="00748" href="msg00748.html">[ale] chown options</a></strong>
<ul><li><em>From:</em> jasonday at worldnet.att.net (Jason Day)</li></ul></li>
<li><strong><a name="00761" href="msg00761.html">[ale] chown options</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00772.html">[ale] Making a backup with tar</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00774.html">[ale] Apple WebObjects</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00761.html">[ale] chown options</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00778.html">[ale] chown options</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00773"><strong>Date</strong></a></li>
<li><a href="threads.html#00773"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>