I have a script who generate as an output a lot of files (the number is highly variable : 500 to more than 10000).
At the end of this script I need to do a "chmod" on all those files. I tried [CODEchmod 777 *][/CODE]
but it says
-bash: /bin/chmod: Argument list too long
So it seems that chmod can't perform on large amount of files. So does anyone knows how I could do that?