DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
How To Zip All Files In A Directory
// description of your code here
for item in *; do zip -m "${item}.zip" "${item}"; done





