CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: General Discussions: General Questions:
chmod

 



1user
Novice

Oct 11, 2001, 10:45 PM

Post #1 of 2 (3639 views)
chmod Can't Post

Can/Is there anyway to chmod all files in a directory at once instead of one at a time?



mhx
Enthusiast

Oct 12, 2001, 3:18 AM

Post #2 of 2 (3638 views)
Re: chmod [In reply to] Can't Post

Perl's chmod takes a list of files. So that shouldn't be a problem:

Code
chmod 0664, <*>;

Hope this helps.

-- Marcus


Code
s$$ab21b8d15c3d97bd6317286d$;$"=547269736;split'i',join$,,map{chr(($*+= 
($">>=1)&1?-hex:hex)+0140)}/./g;$"=chr$";s;.;\u$&;for@_[0,2];print"@_,"


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives