Um don't mind me, long day, didn't read the question fully :) Ryan > Double quote the filename: > > > for img in `ls *.jpg` > > for img in ` ls "*.jpg"`