Skip to main content

Questions tagged [zip]

A type of file compression used to save space for storage or transfer. Very common due to built in support in both the Mac OS and Windows OS.

Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

unzip specific folder/files of a damaged .zip

I had a crash a couple of years ago which resulted in a recovery from Backblaze (at the time). I have just discovered I didn't fully recover. I still have 3 zips, I only need parts of. This is an ...
Fritz's user avatar
  • 21
1 vote
0 answers
1k views

Inappropriate file type or format when open a zip file

When I tried to unzip a zip file in macOS 13.3.1, it shows an error like this: I have tried to unwrap this file using unzip command: > file file.zip file.zip: Zip archive data, at least v2.0 to ...
Dolphin's user avatar
  • 1,125
1 vote
0 answers
333 views

Why can't I AirDrop a folder or .zip of files to iPhone's Files app?

I have files on a Mac that I want to copy via AirDrop to the ‘Files’ app on my iPhone for backup purposes. They are .html, .css, .js, and similar web formats. I do not need to modify these files on my ...
Mentalist's user avatar
  • 1,122
0 votes
0 answers
788 views

How to remove __MACOSX and .DS_Store from zip files in the whole directory mac

I need to create a script that searches and removes __MACOSX and .DS_Store from zip files in the whole system (MACOS). I have found this useful command that does the job but only if you are already in ...
Milodoc's user avatar
0 votes
1 answer
115 views

zip: cannot use the -FF flag and -q flag at the same time

I am having trouble quietly zipping a large zip file which needs fixing. I have a large zip file that needs fixing so I can use -FF flag: zip -FF TEST.zip --out TEST_fixed.zip If I want to suppress ...
mqjg's user avatar
  • 1
2 votes
2 answers
2k views

MacOS zip folder error code -36/ couldn't communicate with a helper application

I want to zip a folder (any folder). When I try to do so I get: couldn't communicate with a helper application Also, when I try to copy any folder I get exactly the following: Finder can’t complete ...
Pollastre's user avatar
1 vote
1 answer
114 views

Zip .jpg files within multiple subFolders

I need an AppleScript to zip files (not folders) contained in several sub_subfolders. At the end of each day we have a main folder with a name like SR_2022_Oct_20 inside the main folder are sub ...
JBS's user avatar
  • 45
5 votes
1 answer
2k views

Is there a way to prevent macOS's archive utility from unarchiving inner zip files?

I have a zip file, within it I have another zip file, and within that file I have a txt file. When I unzip the outermost file with Apple's archive utility, it unarchives the inner files automatically. ...
Pavel Orekhov's user avatar
1 vote
0 answers
829 views

Unable to compress / zip zero byte files in external exFat drive in Mac OS

Why can't I compress/zip a zero byte file which is located in an external exFat drive in Mac OS ? I keep getting this error, The operation couldn’t be completed. Undefined error: 0. I have some marker ...
anarchy's user avatar
  • 170
3 votes
1 answer
504 views

AppleScript for zipping folders does unexpected things

I compiled the following script to zip multiple folders with only their contents. (So for instance, folder X containing files A, B and C will form a zip file containing A, B and C and not folder X as ...
LauLauPeet's user avatar
1 vote
1 answer
210 views

Recursive ZIP won't work in zsh

Until catalina I used zip -r xmp.zip . -i *.xmp To add all xmp files from subdirectories to xmp.zip. Upgraded to mojave (zsh) and now it won't work anymore (return no matches found). How could I do ...
ariel's user avatar
  • 125
1 vote
1 answer
2k views

Mac Zip without "surrounding Folder" on PC?

I have a problem with Mac Zip files in exchange with Windows PC. My Mac folder structure looks like that: Folder File 1 File 2 If I create a Zip from "Folder" on a Mac and copy that to the ...
Alf's user avatar
  • 11
0 votes
0 answers
529 views

How to set the version number metadata on a zip file?

I use zip files as a simple way of bundling some macOS software for distribution in our organization. I want to set the version number displayed by the Finder's Get Info box, similar to how a version ...
mhucka's user avatar
  • 1,347
5 votes
1 answer
679 views

What is the technical explanation for why Archive Utility can break certain apps, while other unarchivers won't?

I just experienced this issue described in this answer. I had downloaded a zip file containing a macOS app, and first unzipped it with Archive Utility, when trying to open the app, I got the error ...
Fiksdal's user avatar
  • 672
4 votes
2 answers
2k views

unzip archive with filenames containing umlaut

I got a zip archive containing files some of which with a name containing German umlaute, such as ö. The unzip command on a terminal fails to create such files, complaining about an illegal byte ...
Walter's user avatar
  • 1,240
1 vote
2 answers
3k views

Using `jar` to create “zip” file … Mac won't open the zip, says “It is an unsupported format” … why?

I have a build system with a command line driven batch file that uses jar (from Java JDK) on a Windows machine to make a zip file like this ... jar cf c:\target\Application-1.5.zip -C Application-1.5/ ...
AvaTaylor's user avatar
  • 113
0 votes
2 answers
752 views

How to download a list of URLs saved in a text file on iOS? [closed]

I have a list of URLs saved in a text file separated by spaces, and I would like to download every single one to my iPad as a zip file. How can I do that?
Galaxy-Coding's user avatar
0 votes
1 answer
4k views

How can I extract a .bz2 files directly into an external hard drive?

I have a large .bz2 file of 18 gigabytes and there's no way it will extract on to my very small computer storage. So I got an external hard drive, copied the file to it, and pressed 'extract' ...
Maxijazz's user avatar
3 votes
1 answer
504 views

How do I compress a file into .xip format?

I wanted to compress the Xcode.app I downloaded from the app store into .xip format. Is it the same as compressing it to .zip and renaming?
Ted's user avatar
  • 251
1 vote
0 answers
494 views

Is there any way to recover overwritten notes on mac?

I pasted something on top of a note on my Mac that had some moderately important stuff, switched notes (which means no ctrl-z), and I'm trying to recover it. My first mistake is that I unfortunately ...
SMc's user avatar
  • 11
0 votes
1 answer
594 views

How to compress multiple folders into multiple zip files

My folder structure is: YEAR - MONTH - DAY - SUBFOLDERS I want to compress each subfolder in the [DAY] directories. The solution from here which is: for i in */; do zip -r "${i%/}.zip" &...
zippers28847's user avatar
1 vote
1 answer
535 views

Compress file as .tar.gz instead of .zip

If I right click a file and I compress it I obtain a file.zip. Is it possible to set right click-->compress to produce a file.tar.gz as output? I always have to do it through terminal but many times I'...
Erontado's user avatar
  • 123
4 votes
2 answers
1k views

"Compress file" in Catalina sets wrong permissions on ZIP file

When zipping one or more files via Finder (Right click on file → Compress) the created the ZIP file has permissions set to rw------- / 600. When I use the zip command in Terminal, permissions are set ...
florieger's user avatar
  • 165
0 votes
0 answers
240 views

Automator or Apple Script to compress 3 folders?

I have 3 folders I want to compress to an archive and put that archive in a specific location. I'm running in to a few different issues depending on how I tackle the problem. All 3 files live in ~/...
Feanux's user avatar
  • 113
0 votes
0 answers
46 views

Unpacking ZIP packages

For some ZIP file I end up with an "invalid argument" Any ideas? The file can at the same time be unpacked on another PC.
Andreas Diehl's user avatar
0 votes
1 answer
2k views

.ZIP from Windows to Mac: folder structure lost - how to avoid that?

I am creating .zip-files on windows that I want to make available to Mac-Users (created with ZipFile.CreatefromDirectory from .NET Core). However, when I extract these files on my Mac (running Mojave, ...
MBaas's user avatar
  • 137
0 votes
0 answers
348 views

Zipping (Archive Utility) in 10.14.6 using other sorting order than Finder

As of macOS 10.14.6 (maybe since 10.14.0) I noticed that when I zip files directly within Finder (Select files, right click, compress) that the resulting Archive.zip contains the selected files but in ...
basZero's user avatar
  • 125
3 votes
2 answers
3k views

How to convert non-utf8 encoding to utf-8 encoding during unzip?

I have the same problem which described here. The only difference is I need to do this in MacOS. Basically, all files are encoded in non-utf8 and zipped on Windows. When I unzip it on MacOS, they ...
sgon00's user avatar
  • 2,394
1 vote
1 answer
173 views

How to zip a script-file for MacOS under Windows and give it correct attributes?

I am working under Windows 10 and am putting together a few data-files and a simple bash-script that I want to share with Mac-Users. (I am just learning MacOS, so may have drawn wrong conclusions ...
MBaas's user avatar
  • 137
1 vote
1 answer
2k views

Opened a zip file in a spam email which created a folder in the /net folder

I accidentally opened a zip file from a spam email. There is a text file in the zip file which I have also clicked to view. Later, I checked that this file has the following content: /net/us.e-fax....
aaronheid's user avatar
0 votes
1 answer
875 views

Zipfile deleted itself?

Last week I downloaded a zipfile from a website on my mac. When it finished downloading the file automatically opened (which it normally doesn’t; I would normally have to double click it first). This ...
Developer's user avatar
  • 273
2 votes
1 answer
273 views

Automatically zip attachments on Mail getting sent

How can I have a single file or several files that I dropped into an email on Mac, automatically become a zip file before getting sent?
user avatar
13 votes
1 answer
8k views

Explore contents of a ZIP/Archive from Finder? [duplicate]

I've lost count how many times I've double-clicked a .ZIP file on Mac to look inside it (like Windows) only for it to auto-extract in the current location, which is rarely my preference. Does MacOS ...
Mr. Boy's user avatar
  • 2,717
1 vote
1 answer
2k views

Compressed hidden files are not hidden anymore when uncompressing on Windows

When I zip hidden files and folder and unzip on a Windows PC, they do not remain hidden. I tried to hide them with dot and also with the command chflags hidden. Is there anything I can do? It happens ...
TryingTrying's user avatar
1 vote
0 answers
192 views

Opening/saving encrypted zip file from iOS mail app

I have a problem with opening an encrypted/protected by a password zip file from an e-mail in an iOS mail app. I can enter the preview of the file, however it is a blank page with the file name only ...
BohrT's user avatar
  • 11
22 votes
3 answers
40k views

how to open password protected 7zip archive on OSX

As the title says, I'm looking for a way to open password protected 7zip archive. I have the password but cant seem to find an application to open it. So far I have tried the following applications: ...
Kalamalka Kid's user avatar
3 votes
2 answers
3k views

How do I zip a folder using the command line while maintaining its file structure?

For example, if I want to zip /Users/admin/Downloads/Backup, and I am at /Users/admin/, I could: zip -r downloads.zip /Users/admin/Downloads/Backup and if I unzip downloads.zip I would get a Users ...
aeroxy's user avatar
  • 3,317
4 votes
0 answers
6k views

Sorry, PowerPoint can't read <file name.>.pptx error when trying to open a powerpoint autorecovery file

I was working on a powerpoint today, and then my document wouldn't let me save, and I ended up overwriting the file with a blank presentation. I don't remember the details of how that happened, but ...
Coub's user avatar
  • 41
3 votes
2 answers
859 views

How to decompress and run .app?

I'm trying to execute an AppleScript .app thats compressed. unzip -p file.app.zip | open - or open < $(unzip -p file.app.zip) Is this possible?
lily's user avatar
  • 859
0 votes
1 answer
89 views

Zipping bundle via Automator

I am looking for a way to zip a fcpx bundle with an Automator service. Automator won't accept a bundle as an input for a service (zip, rename and copy to two different locations for backup purposes), ...
jschrey's user avatar
1 vote
0 answers
82 views

Splitting Zip Files Based on Number of Files, Not Size

I'm looking to setup an automater script on my Mac. On a daily basis I'm compressing thousands of files into groups of 75 files by manually selecting the 75 and compressing them. Is there a way to ...
Dustin B.'s user avatar
4 votes
1 answer
2k views

How does macOS store Unix file permissions in ZIP files

I am trying to extract a ZIP file in Java which was created on a Mac using the built-in archive functionality of the Finder. As the ZIP file contains an application bundle, it is important to retain ...
Oliver Matuschin's user avatar
2 votes
1 answer
229 views

Create ZIP files from containing related files from multiple folders

Is there a way to automate creation of ZIPs containing files with common name elements? What I have are multiple variations of the same image: files/2250/8199print.jpg files/1200x1200/8199square....
Andertoons's user avatar
5 votes
1 answer
5k views

Simple solution to create a zip for Windows users without __MACOSX or any other "period" hidden folders

I've seen questions: How can I create a zip archive for Windows and Linux users? How to remove __MACOSX folder in a list of zip files (not a single zip file)? How can I batch zip multiple folders ...
LateralTerminal's user avatar
2 votes
1 answer
114 views

Where is the "Send to Archive" option in High Sierra

I have recently updated to Mac OS X High Sierra and noticed that there is no longer a archive or compress option in the context menu in finder. Has this feature been removed or is a there a setting ...
Imran's user avatar
  • 1,861
1 vote
1 answer
178 views

Why are zip file sizes different in finder compared to Google or Amazon Drive?

I was wondering why file sizes of my zipped archives (.zip) are inconsistent. A file that shows in the finder (macOS) as 9.17 GB shows up as being 8.54 GB on an Amazon Drive (same thing with Google ...
aris's user avatar
  • 201
121 votes
10 answers
227k views

How can I unpack .7z files via MacOS terminal?

Looking to unpack a bunch of files.7z via terminal. Is there a command-line tool built in, available or I shall install an application that comes with a graphical interface?
SuperAtic's user avatar
  • 1,431
6 votes
0 answers
568 views

Can you unzip an IPA package without either changing the extension or having admin rights?

A colleague who I admin for has just asked me why, when he wants to unzip an IPA file, the GUI archive manager asks for an admin password when he tries to decompress an IPA that he has downloaded (his ...
Rumbles's user avatar
  • 602
2 votes
1 answer
2k views

How can I batch zip multiple folders without _macosx files?

I'm wanting to zip multiple folders at the same time, where each folder is it's own zip file. I'd like to create the zip without the _macosx or any other hidden files, and if possible have the zip ...
Ryan Boles's user avatar
4 votes
3 answers
9k views

How to make and transfer secure (encrypted) ZIP files from Mac to PC

I'm trying to send my tax info securely through email or a web file transfer service like yousendit.com, dropbox.com or google drive, and created an encrypted folder containing the many image files of ...
BarbaraRoseNow's user avatar