Questions tagged [archive-utility]
the built-in handler for compressed archives (e.g. .zip, .gz, .tar) in macOS.
32 questions
2
votes
0
answers
100
views
Archive Utility does not extract all files from tar archive
Archive Utility vs BSD tar behaviour:
echo -n 'Hello' >hello.txt # "Hello" in hello.txt
tar cvf hello.tar hello.txt # hello.tar contains "hello.txt" file with "hello" ...
3
votes
1
answer
1k
views
Unable to copy or compress folders in actively synching iCloud Documents and Desktop folders
I am using a 2022 Mac Studio M1 Ultra running Ventura 13.2.1, however I have been experiencing this issue since Monterey.
I can't compress or copy/duplicate folders when the parent folder is synching ...
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. ...
0
votes
1
answer
319
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 ...
5
votes
1
answer
725
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 ...
0
votes
1
answer
77
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 ...
1
vote
0
answers
219
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 ...
15
votes
3
answers
22k
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....
1
vote
0
answers
149
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 ...
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, ...
0
votes
0
answers
368
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 ...
0
votes
1
answer
1k
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 ...
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?
1
vote
1
answer
2k
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 ...
2
votes
1
answer
232
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....
4
votes
1
answer
267
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 ...
4
votes
1
answer
992
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
...
3
votes
0
answers
7k
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 . ...
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 ...
1
vote
1
answer
823
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 ...
33
votes
4
answers
51k
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 ...
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 ...
1
vote
1
answer
57
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?
7
votes
3
answers
7k
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 ...
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 ...
8
votes
2
answers
19k
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 ...
0
votes
1
answer
508
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 ...
0
votes
1
answer
161
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 ...
4
votes
4
answers
6k
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 ...
2
votes
1
answer
391
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 ...
2
votes
1
answer
252
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 ...
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).