[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jan 19 11:02:38 2005 -->
- <!--x-from-r13: Dboreg.Z.Vneevf ng eqyt.arg (Dboreg Z. Vneevf) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 043501c4fe3e$5bfb9ba0$6603a8c0@win2kpro1 --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] chown options -->
- <li><em>date</em>: Wed Jan 19 11:02:38 2005</li>
- <li><em>from</em>: Robert.L.Harris at rdlg.net (Robert L. Harris)</li>
- <li><em>in-reply-to</em>: <043501c4fe3e$5bfb9ba0$6603a8c0@win2kpro1></li>
- <li><em>references</em>: <043501c4fe3e$5bfb9ba0$6603a8c0@win2kpro1></li>
- <li><em>subject</em>: [ale] chown options</li>
I think find may have some exclusion but I'd do something like this:
find . -print | grep -v 'directory' | xargs chown fred.users
(Don't do chown -R this way).
Thus spake Ryan Fish (FishR at bellsouth.net):
> Hello all,
>
> Is it possible to perform a recursive chown but exclude one particular
> directory? If so, how would it be done? I have yet to find any info on
> this online so I figured I would ask...
>
> Thank you.
> -Ryan
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
:wq!
---------------------------------------------------------------------------
Robert L. Harris | GPG Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS With Dreams To Be A King,
ALONE. I speak for First One Should Be A Man
no-one else. - Manowar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
</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>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00712.html">[ale] chown options</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00714.html">[ale] chown options</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00778.html">[ale] chown options</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00726.html">[ale] chown options</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00713"><strong>Date</strong></a></li>
<li><a href="threads.html#00713"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>