Hello, I'm scripting a newbie. I'm using KSH on HP-UX. I'm trying to write a script that will change a whole directory of file names into UPPER CASE.
I have the "convert to upper case" part of it working fine:
ls | while read filename; do
typeset -u uppercase
uppercase=${filename}
mv ${filename} ${uppercase}
done
but it only works on the files in the current directory. I have a bunch of subdirectories and more subdirectories and I need my script to travel up through them all.
How does one do recursion into subdirectories using KSH?
Thanks for your input!!