![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: chmod 775 on all filesby mbadolato (Hermit) |
on Jul 29, 2003 at 15:15 UTC ( #278860=note: print w/replies, xml ) | Need Help?? |
I agree with the others that the simple chmod -R 775 from the command line would be easiest. But, if for some reason you need to use File::Find, I believe (I didn't refer back to the docs, or test this) the syntax is something to the effect of
find({chmod(0775, $_)}, ['/path/to/your/base/dir']); I haven't used File::Find for a looooong time so I could be off with that. starting point though? :) YMMV
In Section
Seekers of Perl Wisdom
|
|