![]() Optional Step: You can verify the contents inside the zip file (ensure that no system files are included) using the command below zipinfo compressed.zip x '.*' -x '_MACOSX'įrom the example above, you have compressed “newfolder” located on your Desktop and named it “compressed.zip”. ![]() ![]() Use the following command to ZIP the folder WITHOUT _MACOSX, _DS_Store, and other Mac system metadata files.Place the file/folder in an easy directory, e.g.When you use the Mac Terminal app to compress files and folders, there will not be any Mac-related system files created.Īll you need to do is use a few simple commands. DS_Store, _MACOSX, and custom icon file (Icon\r) in your zipped archive. The compression tool can exclude macOS system files, such as. It supports standard archive types such as gzip, bzip2, and zip as well as compressed disk images. Replace with the actual zip file you have.ĬleanArchiver is a simple and effective archiving utility for macOS and you will need to install this small application to compress files and folders into a ZIP package. Now use the command below to delete the hidden system folder “_MACOSX folder” zip -d compressed.zip _MACOSX/\*.For example, if it is on the Desktop, use the command below cd Desktop Navigate to the compressed file you already had.You can search “Terminal” using the magnifying glass icon in the top-right corner. This is useful If you already have the compressed file containing the Mac system files and do not want to redo the whole compression process again. The fastest and easiest way is to delete the Mac system files from the ZIP file itself. How to ZIP Files on Mac without having the.
0 Comments
Leave a Reply. |