zip(1) -vr9 foo.zip somefolder
package and compress (archive) files
-v
--verbose
       Verbose mode or print diagnostic version info.

       Normally, when applied to real operations, this option enables the display of a progress indicator
       during  compression  (see -dd for more on dots) and requests verbose diagnostic info about zipfile
       structure oddities.

       However, when -v is the only command line argument a diagnostic screen is printed  instead.   This
       should  now  work  even if stdout is redirected to a file, allowing easy saving of the information
       for sending with bug reports to Info-ZIP.  The version screen provides the help screen header with
       program  name,  version,  and  release  date,  some pointers to the Info-ZIP home and distribution
       sites, and shows information about the target environment (compiler type and version, OS  version,
       compilation date and the enabled optional features used to create the zip executable).
-r
--recurse-paths
       Travel the directory structure recursively; for example:
source manpages: zip