Zip multiple directories into individual zip files June 23, 2016 for i in */; do zip -r "${i%/}.zip" "$i"; done