Questions tagged [zip]

Compression and archive format that stores one or more files into a single file, usually with a .zip file extension.

Filter by
Sorted by
Tagged with
10 votes
1 answer
476 views

How did this ZIP file print to my command line when I extracted it?

I downloaded a font from www.fontspace.com today. It came in a basic .zip file and so I moved it into its own new folder to extract it (I'm tired of extracting things just to find that they were ...
0 votes
1 answer
2k views

Why are MS Office files actually ZIP files with another extension? [closed]

I has been trying to reverse-engineer the Microsoft Office file formats and I've found they are actually Open XML and the "Open XML" file format is actually a ZIP format. When I open the Office files ...
1 vote
1 answer
618 views

Upload big file to OneDrive cloud storage

I want to back up a lot of my files (photos, videos ...) to cloud storage. My idea was to create a (700 GB big) ZIP file and upload it to OneDrive, where I have 1 TB of space. But, OneDrive has ...
2 votes
4 answers
5k views

Linux unzip: don't prompt user

I need to unzip a file in my nodejs script: var exec = require('child_process').exec; var execOptions = { timeout: 15000 }; exec('bash unzip.sh', execOptions, function (error) { ... }); In ...
3 votes
3 answers
5k views

How can I zip or rar files listed in a text file from the Windows command line?

I'm using a batch script to output filenames with specific attributes to a .txt file, in this case older than 30 days. I'd like to then zip or rar those files that are listed in the .txt file. How ...
38 votes
1 answer
12k views

Why is unzipped directory much smaller (4.0 K) than zipped (73.0 G)?

I unzipped a zipped file using zip -l <filename> but what get is a dir much smaller than what it was before unzipping. Unzipped dir has all the files mostly videos. Why is the unzipped ...
0 votes
1 answer
3k views

Zip Files by Date

I have a folder full of log files on a Windows machine (Windows server 2008 R2, or I could copy them to Win10), and I want to zip them by date. I'd love to do this with native means (eg: CMD/BAT, ...
0 votes
1 answer
2k views

Invalid file name inside zip file

I have a ZIP file, and inside that zip file, there's multiple files with invalid file names (for my Debian OS): for example fileABC£ [abc123].txt When I attempt to extract it unzip data.zip: error: ...
2 votes
2 answers
9k views

Is SecureZip compatible with any other ZIP programs?

I put some files into an encrypted archive with Secure Zip (was using a computer at another organization) and emailed them to some people. None of them have Secure Zip (nor do I on any of my own ...
1 vote
2 answers
3k views

Determine password used for ZIP file

I have a password-protected ZIP file that contains a single file. Also I have the same file outside the archive in a plain version. I know for sure that this is the same file. Is it possible to ...
0 votes
1 answer
1k views

Recovering password from zip file

I have a few zip files from a long time ago but they are encrypted and I don't know the passwords. I have the unencrypted, uncompressed file that is in one of them. With this pair, I am trying to ...
2 votes
1 answer
4k views

Do 7z archives compress each file individually or compress everything together as one?

I read somewhere (I can't remember where) that compressing files into a .tar.xz resulted in better overall compression ratios than .7z archives because archive+compression formats like zip, rar, and ...
1 vote
0 answers
209 views

WinScp - PHP zip remote code doesn't work

I wrote a simple script to zip whole folder on ftp. I connect to this through ftp protocol, and I found it difficult to zip and unzip anything this way, so decided to use php as shell turned out to be ...
0 votes
0 answers
127 views

Editing a file inside an archive

Are there other programs that allow you to edit a file inside an archived file? For example, 7-zip allows you to edit the file inside the archive. But it changes the compression of the other files (i....
4 votes
1 answer
24k views

Why doesn't Windows have a command-line zip command? [closed]

Windows has a built-in "zip" program for archiving and un-archiving files. It comes with every installation of Windows, and is even integrated with the Windows Explorer GUI. Why is there no command-...
22 votes
2 answers
26k views

Analyzing properties of a ZIP file

I have a ZIP file, and I want to determine how it was compressed (the specific algorithm, properties used to apply that algorithm, etc.). How can I do this?
1 vote
1 answer
5k views

Search zipped files and list content

I have a folder with many archive files. How can I search all the files and list their content (possible extract to excel or to any other document) of the zipped files without extracting them?
4 votes
1 answer
10k views

Compress folder using pigz without tar

pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. But this ...
0 votes
1 answer
82 views

zip compression in epub via pandoc better than plain zip?

I have a plain text file (scan of a book written about 100 years ago in english). When I save it in my text editor it has size 618kb Whan I zip this file it has size 211kb but when I covert it to ...
1 vote
2 answers
6k views

Virus scanning a compressed file before vs after extracting

If I download a compressed file (i.e. a zip file, etc), does it make a difference if I: a) virus scan it as is vs. b) virus scan after extracting it? What are the differences/considerations if I ...
3 votes
3 answers
1k views

Why can tgz be opened on Linux box but not on Windows?

I've received a Tar/GZipped file that was created on an embedded Linux device. The file can be extracted perfectly fine on a Linux desktop if I run something like tar zxf myFile.tgz. The file ...
7 votes
7 answers
61k views

How do I use a .DIZ file?

I downloaded a torrent that contains a bunch of .zip files and a .diz file. I'm guessing it all should get pieced back into 1 bigger zip file. Any suggestions on how to use it?
1 vote
0 answers
1k views

How to read large zip files in pyspark [closed]

I do have n number of .zip files on s3, which I want to process and extract some data out of them. zip files contains a single json file. In spar we can read .gz files, but I didn't find any way to ...
0 votes
1 answer
134 views

How can I restore a weird Windows backup?

I need to restore some files that I saved about 5 years ago. Back then I created a backup with Windows, but I don't remember how or which Windows Version it was. All I have now are the files from the ...
1 vote
0 answers
404 views

How to permanently store parameter qs in 7-Zip for all users

I have a scenario where I use 7-Zip to store multiple files by a script to a 7z archive. I used a very old version that produced good compression results, but since the newer file sorting was enabled, ...
0 votes
0 answers
593 views

zip not supporting -S option?

I run zip -r9 -S --symlinks ../output.zip . and get the error zip error: Invalid command arguments (short option 'S' not supported). zip --version tells me Copyright (c) 1990-2008 Info-ZIP - Type '...
4 votes
2 answers
5k views

Zip file with absolute paths via command line

Is there a way to zip a file to include absolute paths in Linux via the command line? I have a Python program that checks zips and tars for absolute paths, and would like to create a zip file to ...
0 votes
3 answers
3k views

powershell create zip from log files

How can I move log files to zip archives with System.IO.Compression.FileSystem in PowerShell? I have more folders with log files per application: app1logfolder |-app1_20130507.log |-app1_20130508....
2 votes
2 answers
5k views

How to know if a zip file has a root folder?

I regularly got suckered by zip file (libraries, programs, ...). Sometime, I am cautious and I do: $ mkdir content && cd content $ unzip ../library.zip Archive: library.zip creating: ...
4 votes
4 answers
14k views

Why does zipping a zipped file not reduce its size?

Based on the idea that a zipped file is a new binary file, why can't I reduce a Zip's size by zipping it again and again – up to a very small resulting file?
1 vote
0 answers
866 views

Unable to get data from unzipped file

I have a file on MacOS that I extracted from a ZIP archive that appears to have 113020 bytes or zero bytes depending on who's asking. So far I can't open it.The Finder's GetInfo function reports that ...
19 votes
2 answers
17k views

Zip files expand with backslashes on Linux, no subdirectories

So, weirdly, I can unzip a file a friend made on windows. What it gives out is strange, and incorrect in a way I've not seen before. <base directory stuff> assets\Changes.txt assets\...
0 votes
2 answers
732 views

Is there any way to view compressed files? [closed]

I don't mean decompressed, I mean like open the compressed WinRAR or zip file as is (compressed) I want to view the gibberish zipped/Winrared file. without decompression. OS: Windows 10 Pro Thanks ...
5 votes
3 answers
5k views

Zipping Epub: Mimetype file should contain only the string "application/epub+zip"

I followed the tutorial Build a digital book with EPUB to create an ePUB file.  The mimetype file contains only application/epub+zip and should not be compressed.  However, the zip commands that were ...
6 votes
2 answers
52k views

Compress large CSV FIle? (500MB)

I have a CSV-File which is 500MB of size. I am searching for a way to compress is to it smallest possible size. I actually received the file back then in a ZIP-Folder which was only about 50MB of ...
0 votes
3 answers
1k views

Rezip file without creating temporaries

Maybe it's best I just start off with the use case. I have a large zip file full of many files and I suspect it was originally zipped at a low compression level. I want to create a new zip file from ...
8 votes
1 answer
1k views

While trying to see the content of a zipped file, I only get information about the zipping process

In Ubuntu, installed on Windows Subsystem for Linux, I want to see the content of a zip file, using gzip --list. I expected to see a list of included files like this: FileName ratio File1 ...
0 votes
1 answer
433 views

Password protect multiple individual ZIP files on Mac

Currently, I have an Automator script (Shell Script) which allows me to select multiple files and then create an individual zip file for each. for f in "$@" do zip -j "$f.zip" "$f" done What I'...
2 votes
1 answer
3k views

What text encoding is used in "Zip archive data, at least v?[0x314] to extract"?

I tried multiple search terms on the usual suspect search engines as well as on stack overflow and superuser, but can't find anything on this. Normally a Zip archive magic pattern is "at least v1.0" ...
1 vote
0 answers
2k views

How to unzip files that have been zipped multiple times?

I've been writing a bunch of files to a folder, however this quickly made me almost run out of space, so I decided to zip all the files. However, I messed up and did this multiple times, so some files ...
0 votes
0 answers
524 views

Can I compress a directory with a running executable?

I've given this a cursory google but most results reference creating executable zip files. My question is basically: I have a running .exe which: Is, in this case, an installer Other items in the ...
2 votes
0 answers
3k views

Wrong password while extracting zip file [closed]

I had used C# code to create Password protected zip files, But while extracting all the files inside zip gets except one large txt file, and for that particular file all different tools (default ...
6 votes
3 answers
12k views

The compression cannot be performed because the path to the file or directory 'Application Data' is too long

In Windows 7, whenever I tried to compress the USER directory into a .zip file I experienced this error and cannot continue: The compression cannot be performed because the path to the file or ...
0 votes
0 answers
352 views

Packing thousands of files into an archvie using 7-zip "Store" compression. Does this significantly speed up a file transfer?

I have a folder with 40,000 jpg images, and I'm assuming that if I pack them into a 7zip file using the "Store" compression level it would make file transfers a lot faster since the the 40k files ...
0 votes
1 answer
767 views

7z - .bat file which creates a .zip containing all files with an specific string in its filename

I have a folder containing an entire volume of a comic book, 9 chapters in total, with both .png and .jpg files. Each filename is [Series Name] c*** v**.png I want to make a batch file which ...
8 votes
3 answers
2k views

Which archival formats efficiently extracts a single file from an archive?

Extracting a single file from a zip file is a fast operation, so I assumed this would be true for TAR as well, but I learned that even though a TAR file is without compression, it can take a looong ...
0 votes
2 answers
147 views

How do I create a bootable USB drive?

I have had a Matebook X Pro for about three weeks and I am running Ubuntu 18.10 on it. Recently I have restarted the computer following some installation guide and a problem occurred. The computer ...
4 votes
1 answer
7k views

Changing the File Explorer default unzip location

If you download a zipped file to the "username\Downloads" folder, and then open it with File Explorer and extract all, the default location is "username\Downloads". This is fine and makes sense. ...
0 votes
1 answer
102 views

ISO-Image Format is used instead of others? [closed]

I have seen almost all operating systems and large sized files are in ISO format. why they choosen that format instead using any other formats like zip, rar, etc.
7 votes
4 answers
2k views

How to recompress many zips on a drive?

I have a hard drive that contains many ZIP files of backups of various things. They were compressed at different points in time in different and inconsistent ways, and a lot of them use minimal ...

1
8 9
10
11 12
24