Posted on September 5, 2017Mac ZIP folders to individual files #!/bin/bash find . -name ‘.DS_Store’ -type f -delete for i in */; do zip -r “${i%/}.zip” “$i”; done