[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Quick Script Question



Something like:

find /path -type d -exec chmod u+x {} \;

should work



Dumb thing #596 for the day for me...

Is there anyway to (in a script) discriminate between files and folders?

If I need to chmod -R u+x <all the folders recursively> but don't want to make all the *files* executable, is there anyway anyone can think of do do such a thing?

Thanks,
-Shawn


--
Shawn Powers
Technology Director
Inland Lakes Schools
PHN: 231-238-6868 x9174
FAX: 509-356-7024
spowers inlandlakes org
http://techcorner.inlandlakes.org


_______________________________________________ K12OSN mailing list K12OSN redhat com https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]