// description of your code here


for item in *; do zip -m "${item}.zip" "${item}"; done

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/yy4jELIyyZ8/12335