I needed to zip every subfolder within a folder to it's own separate zip file.  In Bash did a for loop to find each folder and then zip each folder.

This is my oneliner to do it

for i in */; do zip -r "${i%/}.zip" "$i"; done