Cesar Garcia writes: > Perhaps, try with this: > > for MAGFILE in `ls $MAGDIR/*.[Zz][Ii][Pp]`; do That worked. Thank you. As soon as I saw the example, I realized that in the script, there was no way for it to know where these files were that I was looking for. Also my thanks to the others who replied with equally useful information. Martin