I have a directory of directories. Each directory contains ~100 images. I want to create a zip for each directory.
How can I do that?
Goto the directory in a Terminal window and run the following:
find . -type d -depth 1 -exec zip -r {}.zip {} \;
find .
-type d
-depth 1
-exec <cmd> {} \;
cmd
for each result {}
you findAnd finally zip -r <dest> <src>
which zips the directories recursively.