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

[no subject]



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
 
&quot;Of course I'm paranoid, everyone is trying to kill me.&quot;
    -- 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>