Re: chmod-ing a directory tree without effecting files

2003-10-22 Thread Thomas Smith
Konrad Kosmowski wrote: On Wed, 22 Oct 2003 15:50:12 -0700, Thomas Smith <[EMAIL PROTECTED]> wrote: I need to chmod a directory tree to change the permissions on the directories but not the files they contain. Is there a way to do this with chmod or another tool? $ chmod -X Always r

Re: chmod-ing a directory tree without effecting files

2003-10-22 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 22 October 2003 06:50 pm, Thomas Smith wrote: > I need to chmod a directory tree to change the permissions on the > directories but not the files they contain. > > Is there a way to do this with chmod or another tool? Something like: find

Re: chmod-ing a directory tree without effecting files

2003-10-22 Thread Konrad Kosmowski
On Wed, 22 Oct 2003 15:50:12 -0700, Thomas Smith <[EMAIL PROTECTED]> wrote: > I need to chmod a directory tree to change the permissions on the > directories but not the files they contain. > Is there a way to do this with chmod or another tool? $ chmod -X Always read the f* manual first! man

RE: chmod-ing a directory tree without effecting files

2003-10-22 Thread Chad Skinner
> I need to chmod a directory tree to change the permissions on the > directories but not the files they contain. > > Is there a way to do this with chmod or another tool? You can try piping the output of find into the xargs command. For example, find /home/chadws/mythtv -type d | xargs chmod 2

chmod-ing a directory tree without effecting files

2003-10-22 Thread Thomas Smith
I need to chmod a directory tree to change the permissions on the directories but not the files they contain. Is there a way to do this with chmod or another tool? Tom -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list