0403-027 The parameter list is too long on AIX 5.3

view story

http://www.unix.com – Hi we are using AIX 5.3 64bit I have near about 79000 log file having naming convention like "IFTMBCSun Aug 14 07:45:00 PAKST 2011". This naming convention was created by a script error, now we need to rename these log file by removing extar spaces and (:) colon for that we wrote below script Code: ls * | while read file do echo $file echo "$file" | sed "s/[ \:]//g" mv "$file" $( echo "$file" | sed "s/[ \:]//g" ) done This script is working fine for limited files but is not working in folder where 79000 files exist and receiving (HowTos)