for f in `ls`; do

  echo "File -> $f"

done

http://superuser.com/questions/31464/looping-through-ls-results-in-bash-shell-script

Posted by tenn
,