Mac decompression command __MACOSX related files

Source: Internet
Author: User
Tags modifiers

When we compress the MAC system, the system will give you the default to put a __macosx directory, if you use the system directly decompression will not appear in this directory, but if you use the command or unzip on win, this directory appears.
So here is to use the command decompression __macosx directory method. The decompression commands are:

shell.zip -x __MACOSX/*

This will not generate the __MACOSX directory after decompression.

Blog Original address: http://blog.csdn.net/showhilllee/article/details/47067115

PS. Attach zip and unzip related parameters and explanations:

UnZip 5.52 of February 2005, by Info-zip.  Maintained by C. Spieler. Sendbug reports using Http://www.info-zip.org/zip-bug.html; See README for details. Usage:unzip [-z] [-opts[modifiers]] file[.zip] [list] [-X xlist] [-D Exdir] The Default action is to extract the files in list,  Except those in xlist, to Exdir;  File[.zip] May is a wildcard.  -Z = zipinfo mode ("Unzip-z" for usage). -p Extract files to pipe, no messages-l list files (short format)-F Freshen Existing files, create NONE-T test compressed archive data-u update files, create if necessary-z display archive Comment-x exclude files that follow ( in xlist)-D Extract files into ExdirModifiers:-Q Quiet mode (-QQ = quieter)-n never overwrite existing files-a auto-convert any text files-o overwrite files without Prompting-aa treat  All files as text-J Junk paths (  do don't make directories)-V be verbose/print version info- C match filenames case-insensitively-L make (some) names lowercase- X restore UID/GID Info-V retain VMS version numbers< /c0>- K Keep setuid/setgid/tacky permissions-M pipe through "more" pagerExamples (see unzip.txt for more info): Unzip data1-x Joe = Extract all files except Joe from ZipFile data1.zip u nzip-p Foo | more = Send contents of foo.zip via pipe into program more UNZIP-FO foo ReadMe = quietly replace existing ReadM E If archive file newer

Reprint please specify the source http://blog.csdn.net/showhilllee/article/details/47067115

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Mac decompression command __MACOSX related files

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.