[lug] Recursive chmod

Warren Sanders sanders at MontanaLinux.Org
Fri May 4 08:15:57 MDT 2001


I need to chmod -R (recursively) using wild card *.html and *.jpg.  My
problem is it doesn't dive into subdirectories when you use wild cards.
Is this an all or nothing command?

I first thought I'd set chmod -R 750 Dir/ which covers all files and
directories.  Then I wanted to remove the executable from all files which
are only html and jpg.

TIA,
-- 
Warren Sanders
http://MontanaLinux.Org




More information about the LUG mailing list