Much more simple, and will avoid issues with spaces:
Quote:
for i in * ; do zip -vr “$i.zip” “$i” ; done |
How to put zips in another directory is left as an exercise to the reader.
Personal Blog
Much more simple, and will avoid issues with spaces:
for i in * ; do zip -vr “$i.zip” “$i” ; done |
How to put zips in another directory is left as an exercise to the reader.