in reply to Limitations to chmod and performance
Working with a list of files and letting chmod do the loop is probably faster than looping over chmod statements. But if your list of files is very large, you could run out of memory. (Very unlikely, but there is a theoretical limit there.)
Personally I would suggest working with whatever style fits the surrounding code the best. With File::Find that would be one file at a time, just do the chmod in the callback.
(Actually I would be inclined to go to the shell and just do a chmod -R ..., but it sounds like you have been down that route...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 1: Limitations to chmod and performance
by arhuman (Vicar) on Nov 12, 2001 at 18:48 UTC |