Mac Zip Common Commands

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.