The most popular usage
Zip-q-r-e-m-o [Yourname].zip someThing
-Q indicates that the compression progress status is not displayed
-R indicates that sub-directory sub-files are all compressed to ZIP//This is more important, otherwise only something this folder is compressed, the inside is not compressed inside
-e means that your compressed file needs to be encrypted and the terminal will prompt you to enter the password
There is an encryption method, which is done directly on the command line, such as Zip-r-P password01! Modudu.zip Somedir, directly with password01! to encrypt Modudu.zip.
-M means that the original file is deleted after compressing
-O means to set the last modified time for all compressed files to the current compression time
That's how it's done when you cross a directory.
Zip-q-r-e-m-o ' \user\someone\somedir\somefile.zip ' \users\somedir '
Mac Zip Common Commands