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
2answers
41 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/ ...
0
votes
1answer
37 views

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

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?
0
votes
1answer
30 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' ...
2
votes
1answer
52 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?
0
votes
0answers
35 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 ...
0
votes
1answer
23 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" &...
21
votes
5answers
26k views

How to deal with unzip error on a large file in OSX?

I downloaded the latest Raspbian image from the raspberrypi.org website on my Mac running OS X 10.10.5 The SHA-1 checksum agrees with that listed on the website. When I try to extract using unzip I ...
1
vote
1answer
50 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'...
3
votes
2answers
175 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 ...
57
votes
3answers
289k views

Error opening a zip file: No such file or directory?

After 25 years on PCs I am delighting in learning all I can about working with my new Mac and OS X Mavericks. I tried just now to open a zip file but was interrupted with an Archive Utility dialog: ...
0
votes
0answers
50 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 ~/...
21
votes
2answers
23k views

How can I run unzip silently in terminal?

I have a lot of Zip archives that I want to unpack in a script. Is there any way to run them silently? Here is what I have: bash> unzip 02b852e3571e46f25fdfc79f43ceb726ddff9ba7.zip Archive: ...
87
votes
7answers
133k 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?
0
votes
0answers
26 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.
2
votes
1answer
78 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?
0
votes
1answer
258 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, ...
0
votes
0answers
54 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 ...
8
votes
3answers
10k views

How to stop the hidden __MACOSX folder from being created when compressing files/folders in Finder

When compressing files/folders in Finder, via the context menu, i.e. select the files/folders then right-click and select Compress ..., a hidden folder named __MACOSX is created within the zip archive....
10
votes
6answers
8k views

OS X: View Zip File as Folder

One of the few good features of Windows is its ability to view a zip file as a folder. Is there some way, possibly using a third party app, to do the same on the Mac? I know there are a number of ...
0
votes
1answer
201 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 ...
1
vote
1answer
62 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 ...
1
vote
1answer
524 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....
0
votes
1answer
56 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 ...
6
votes
1answer
15k views

Can macOS system open zip and tar archives natively?

I have to upload an archive for some Linux, Windows and Mac OS users. I'm using Linux so I'm sure everybody could handle a tar file, Windows users will get some problems, so I think zip is the best ...
2
votes
3answers
2k views

Can .zip folders created using Windows XP Pro be opened and extracted on Mac without any additional software?

I am a Windows user, and I would like to send a compressed archive/folder to my colleague who is a Mac user. I do not want him to have to download any additional software to open and extract it. Can ...
11
votes
2answers
7k 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: ...
6
votes
1answer
2k 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 ...
1
vote
2answers
1k 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 ...
2
votes
1answer
152 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....
1
vote
1answer
531 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 ...
1
vote
0answers
104 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 ...
0
votes
1answer
3k views

Program Icons bounce, but won't open on Apple MacBook Pro [closed]

I just got an Apple MacBook Pro that is 5 years old and I have no idea how to use it or if something is wrong with it. I have 10.9.5 and it's supposed to be compatible and it didn't work. Since then, ...
4
votes
0answers
5k 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 ...
2
votes
2answers
212 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?
0
votes
1answer
86 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), ...
1
vote
0answers
53 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 ...
4
votes
1answer
1k 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 ...
0
votes
1answer
3k views

iMac can't unzip password protected PC zipped file

I sent a .zip file to a friend with an iMac but he can't open it. It was created using PKZip on a Windows 7 PC, and it's Password protected. He's pretty technically inept so is there anything he needs ...
5
votes
7answers
10k views

Alternatives to command line unzip?

I've found that the command line unzip tool doesn't gracefully handle some of the files I'm unzipping: it makes a bunch of junk directories, and creates files whose resource forks aren't found. (...
5
votes
3answers
4k views

encoding of filenames in zip archives

When I unpack a zip archive (with standard 'archive utility') that was created under windows, cyrillic characters in filenames become some gibberish. Just the filenames are the problem, actual ...
8
votes
1answer
6k views

Large zip files created in OS X cannot be opened in Windows

When I compress a large directory in OS X, like 5-6 GB the resulting archive cannot be browsed in Windows / Total Commander. It hangs the app and stays at 100% cpu usage, like its trying to extract it ...
6
votes
1answer
32k views

How can I split a 60 GB file into 5 GB pieces on a Mac?

I would imagine using a Disk Utility partition, but I didn't see the option in Disk Utility to split a larger partition into several. How can it be done on a Mac? I am doing this because I would ...
8
votes
2answers
15k views

How can I update my version of `unzip` to version 6.00 or higher?

Its a common problem that, when unzipping (read: 'open by double-click'), some .zip files result in a similar sized .cpgz file. But you expected an unzipped file or folder instead. The default unzip ...
4
votes
1answer
2k views

iCloud “message size violation” when sending zip containing more than 127 files

Revised question As per Tetsujin's suggestion in the comments I did some further testing. There seems to be a problem with iCloud and sending a zip file of a folder with a certain amount of files. ...
4
votes
3answers
2k views

iOS Mail wont open zip files

I'm on iOS 9.2 on an iPad air 2. I understand that since iOS 7 mail should open (for viewing) zip files directly. What I actually get is just perpetual Loading... and spinning wheel. If I copy to ...
4
votes
3answers
6k 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 ...
5
votes
1answer
2k 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 ...
2
votes
1answer
103 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 ...
1
vote
1answer
21 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 ...
1
vote
1answer
1k views

Automator: Archive a folder, whilst excluding certain files

I am trying to create an automator based workflow whereby I create archives of folders but exclude certain files from the final archive. I would also like to specify the files or folders to exclude (e....