2022 Developer Survey is open! Take survey.

Questions tagged [archive-utility]

the built-in handler for compressed archives (e.g. .zip, .gz, .tar) in macOS.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Using terminal to iterate sub-directories and add files to archive

I have found the below terminal command that works really well for creating archives at a folder level, but each folder is actually a subfolder. This means i would need to launch a terminal at each ...
user avatar
0 votes
1 answer
30 views

Keeping ampersand & in filenames when extracting zip files

I want to copy my Google Drive folders to an external USB. Google prepares a zip file for me but if I extract that zip file, the & character in filenames are replaced with _. I don't want such a ...
user avatar
  • 101
5 votes
1 answer
380 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 ...
user avatar
  • 632
0 votes
0 answers
124 views

tar command generating dummy paxHeaders and hidden files

I am using tar -czvf command to create tgz file from the folder but it is generating some paxHeaders and other unnecessary hidden files. I even tried --disable-copyfile and reinstalling node_modules ...
user avatar
0 votes
1 answer
29 views

Difference in archive formats?

After a little testing, I can't figure out what the difference is in the archive formats listed in the Preferences > Use archive format. Each time I compress a folder, each one has the same ...
user avatar
  • 1,688
1 vote
0 answers
59 views

Why does archive utility always expand into the 'downloads' folder regardless of where the file is?

The title sums it up. For as long as I can remember if you open an archive, it expands into the current folder. Recently they all started going to my 'Downloads' folder. I figured there's a setting ...
user avatar
11 votes
3 answers
9k views

Archive Utility can't open some gzipped text files based on their contents

In macOS 10.15.4, Archive Utility is able to open some gzipped ASCII text files but not others, depending on the contents of the text file. For example, this works: % echo "abc e" | gzip > ok.txt....
user avatar
1 vote
0 answers
62 views

Why do ISO files on Mac OS X created using an app always change the date to 1 January 2001?

I downloaded Keka and the app works well, but when I created a test .iso file from some photos saved on an iPhone (a copy of the folder I placed on the Desktop), I noticed this unusual thing: The ...
user avatar
0 votes
1 answer
985 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, ...
user avatar
  • 137
0 votes
0 answers
159 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 ...
user avatar
  • 113
0 votes
1 answer
306 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 ...
user avatar
  • 273
9 votes
3 answers
2k views

Is xar preinstalled on macOS? [duplicate]

$ which xar /usr/bin/xar It's in /usr/bin. Does that mean it's preinstalled on mac?
user avatar
  • 382
1 vote
1 answer
1k views

How can I uncompress a tar.xz thats been compressed on ubuntu and uncompress it on mac with the archive utility?

I have a file sent to me as a file_name.tar.xzfile thats been compressed on ubuntu and I want to uncompress it on my mac. This isnt readily available out of the box so I looked up and installed a brew ...
user avatar
  • 403
2 votes
1 answer
193 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....
user avatar
4 votes
1 answer
214 views

MS Word documents changing to .cpio files and then to .zip files

I really need help with this issue: whenever I try to open a word document file from my Mac, the archive utility application opens up and turns the .doc file into a .cpio file and if I click on that ...
user avatar
4 votes
1 answer
543 views

Why might some files not have resource forks? Does this affect the `tar` utility at all?

I tarred, and re-tarred, the same directory. 2,560 bytes of metadata is somehow lost in that simple process: /tmp$ tar xf workArea.tar /tmp$ tar cf workArea_copy.tar WorkArea /tmp$ ls -l *tar ...
user avatar
3 votes
0 answers
5k views

How do I create a .tgz from Finder using Archive Utility?

How do I create a .tgz from Finder using Archive Utility? That is, I'd like to right-click on a directory and tar and zip it. Yes I know how to work with tar from the shell: tar zcvf ../foo.tgz . ...
user avatar
1 vote
1 answer
3k views

Archive utility hangs at 5 seconds remaining

I'm using OSX El Capitan (v10.11.2). The compression task was begun about 24 hours ago and had reached the About 5 seconds estimation after a couple hours. But it does not complete for whatever ...
user avatar
0 votes
1 answer
235 views

How can I test all archives files in a folder to verify if they are corrupted or not?

I have a folder that contains many files, including some .zip, .tar, .tgz, 7z, and gz files. How can I test all archive files in this folder to verify if they are corrupted or not? The folder ...
user avatar
31 votes
4 answers
43k views

Why is extracting this tgz throwing an error on my Mac but not on Linux?

I'm experiencing a rather odd problem, and I can't figure out what's going on. I have a tgz file, scip-3.2.0.tgz, that is throwing an error when I attempt to unpack it. The error is only occurring on ...
user avatar
  • 505
0 votes
1 answer
1k views

Archive Utility password

Right when I opened Archive Utility for the first time, it asked me for a password for "activated.info". What password is it talking about and what would I put? I've never used it before so I've never ...
user avatar
  • 1
1 vote
1 answer
54 views

Not able to see the archive option

Just got a new mac. When I right click a .zip file, I don't see the Decompress/Archive option. Do I need to download something or change a configuration option?
user avatar
6 votes
3 answers
6k 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 ...
user avatar
  • 243
3 votes
1 answer
5k views

Yosemite won't uncompress .zip files when I double-click on them

I recently upgraded to Yosemite (10.10.1). Today I tried to unzip a .zip file for the first time since upgrading. I already had 4 or so unzipping apps that worked just fine on my previous OS X, so I ...
user avatar
8 votes
2 answers
17k 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 ...
user avatar
0 votes
1 answer
432 views

Extract jpeg File

Often files are hidden in .jpg files simply by opening them up with 7zip, then closing them again. Mac OS X archive utility does not have this ability. Is there any software available for osx that ...
user avatar
  • 105
0 votes
1 answer
154 views

Google plus zip extracts as .EXE files

I went to google plus autobackup and made and downloaded all my photos/movies as zip files. After finish, when I extract the zip files, they contain .exe files and no photos or movies. Anyone know how ...
user avatar
4 votes
4 answers
5k views

Opening a CBR with Archive Utility; avoiding cpgz/zip loop

I'd like to use Archive Utility (the built-in OSX archive tool) to decompress some .cbz and .cbr files. Unfortunately, Archive Utility doesn't seem to recognize .cbz or .cbr as a zipped file, so if I ...
user avatar
2 votes
1 answer
270 views

How do you specify which zip version to compress with?

I am trying to create a .imscc file, a common cartridge file used for interoperability between different Course Management Systems. It is essentially just a bunch of folders and XML files zipped up ...
user avatar
2 votes
1 answer
228 views

Replace "Compress" in Finder context menu with other compression app

I've lost some sensitive data because the built-in compression utility generates corrupt files and doesn't show any error. After I compressed about 1 Gb of files with Finder's "Compress", I decided ...
user avatar
  • 2,060
1 vote
1 answer
3k views

Safari - How to retain downloaded zip files?

I know I can get (Desktop) Safari to stop unarchiving downloads. I don't mind the files being unarchived. I just don't want the zip archives deleted. Is there a way to do this? (10.8.x).
user avatar
  • 2,802