On Wednesday 21 November 2007 01:19:48 Shad L. Lords wrote:
> try:
> find . -type type -print0 | xargs -0 chmod value

Thanks Shad.
That was really cool. Reminds me to reading man pages more often :)
 -print0
              True; print the full file name on the standard output, followed 
by a null character (instead of the newline character that ‘-print’  uses).
              This  allows  file  names that contain newlines or other types 
of white space to be correctly interpreted by programs that process the find
              output.  This option corresponds to the ‘-0’ option of xargs.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
06:19:01 up 1:07, 2.6.22-14-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to