[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jan 19 17:20:06 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: [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 17:20:06 2005</li>
- <li><em>from</em>: esoteric at 3times25.net (Geoffrey)</li>
- <li><em>in-reply-to</em>: <<a href="msg00773.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>> <<a href="msg00773.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] chown options</li>
Right, but if the number of files is too large, which is very likely to
happen your solution won't work at all as you'll get a broken pipe.
Hence the reason I threw in the '-n 10' You could certainly jump it up
to say, 1000, but your solution will attempt to chown all the files and
likely will puke and not work at all.
>
> 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.
My follow solution used chown -R as well.
>
> 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!
Not necessarily, this has been a good discussion. :)
--
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="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>
<li><strong><a name="00773" href="msg00773.html">[ale] chown options</a></strong>
<ul><li><em>From:</em> jasonday at worldnet.att.net (Jason Day)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00777.html">[ale] Hylafax and Vonage</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00779.html">[ale] Hylafax and Vonage</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00773.html">[ale] chown options</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00713.html">[ale] chown options</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00778"><strong>Date</strong></a></li>
<li><a href="threads.html#00778"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>