Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [zip]

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

0
votes
0answers
8 views

No option to export project to a Zip file in Pycharm [on hold]

I refactored my project directory and renamed the project. After, there was no option to export my file to zip - it just disappeared. I tried reinstalling it/deleting all my project folders, but to no ...
2
votes
1answer
36 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
0answers
54 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 ...
8
votes
1answer
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
1answer
55 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'...
0
votes
0answers
21 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 ...
1
vote
0answers
36 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 ...
-1
votes
0answers
19 views

How to add Matlab MVGC Toolbox to Octave on Windows 10?

I want to use the Matlab MVGC Toolbox in octave. I am new to Octave. I downloaded the toolbox from here. I want to add / install the package in the Octave application. I have some internet usage ...
0
votes
2answers
59 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
0
votes
0answers
18 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
1answer
73 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 ...
1
vote
1answer
77 views

How to repair .zip files?

To begin with, I don't know a single thing about coding, computers, etc. It'd be nice of computer masters if my question could be answered in detail (ex: type this in, screenshot, if possible). First ...
0
votes
1answer
134 views

Unzip File: Permission Denied

I am trying to unzip a file (Facebook download-your-info zip file), but here's what I got: Is there a way I can force-unzip it? Update: I tried sudo unzip file.zip -d destination_folder in terminal, ...
2
votes
3answers
83 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
1answer
119 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
1answer
39 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.
0
votes
2answers
46 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 ...
0
votes
0answers
34 views

How to update a zip file in ssh? (Ubuntu)

I use zip to backup a website public folder (4 GB zip) daily. Is there a command to update the same zip file without creating from scratch each time? It should do 3 things: If file exist on zip, ...
0
votes
2answers
168 views

Not enough disk space to unzip 50 GB file on Ubuntu 16.04: Can I extract and reduce zip file size at the same time?

I have a 50 GB zip file, which contains roughly 50.000 jpg images. The jpgs are, unzipped, around 55 GB. I am on Ubuntu 16.04. But I only have 70 GB disk size on that system. So I get a disk error in ...
1
vote
1answer
82 views

Zip file made in Powershell can't be used in Linux

I have a folder with subfolders and files. I create a .zip file via powershell's Compress-Archive. Problem is that the file structure is messed up when opened in Linux. Bad is the bad.zip archive ...
0
votes
0answers
81 views

Batch to extract a file from zip/rar/7zip renaming it BEFORE the extraction, with a random genarated name

I was wondering if there is a method (batch or even something written and compiled in some programming language) to extract a file (always the same file, so I know the name and I can "burn" it in the ...
0
votes
1answer
185 views

Corrupt .zip file after being downloaded by Netcat

I create a .zip file with WinRAR on my Windows, it can be opened and extracted on Linux as well as Windows if I transfer it via mail or any other common way. But when I transfer it via Netcat, the ...
0
votes
1answer
41 views

Bash ignores zip -x arguments [duplicate]

The script below ignores all the -x exclude arguments when run from bash, but it works fine from command line: #!/bin/sh TIMESTAMP=$(date +%u) ulimit -s 65536 WEEK=`date +"%V"` if [ $(($WEEK%2)) -eq ...
0
votes
1answer
211 views

How to use a batch script to zip files with unique passwords?

Good day. I was wondering if there is a way to write a batch script that converts files into password-encrypted zip folders (each zip folder will have a unique password)? I have seen several ...
-1
votes
1answer
49 views

Password Encrypt a file without needing recipient to have special software [closed]

I need to send a zip file to a client and need to secure it with a password. I have tried WinZip, WinRAR, 7Zip and the Windows 10 built in encryption. All of them encrypt the file but on a machine ...
0
votes
0answers
82 views

7zip command line to zip something without directory prefix

We have a batch file that uses Windows 10 builtin zip functionality to zip folders. That is so unpredictable and fails in the middle of 1 hr batch job which requires us start the whole process again. ...
1
vote
0answers
25 views

Quickest way to store (uncompressed) in a .zip file [closed]

I want all my music files to be in one location for easy syncing with my portable media player & for creating backups. However there are a few albums/tracks I don't wish to sync. I don't want to ...
1
vote
0answers
47 views

How to open archive subfolder with winrar in command line

I would like to launch WinRAR interface in a subfolder of an archive. How should I do ? This works: C:\Program Files (x86)\WinRAR\WinRAR.exe D:\backup\archive.zip This, works with 7-zip but in ...
2
votes
0answers
87 views

Cracking ZIP password from spanned volume

On October 10, 1997, I tried to free up some space on my hard-drive by off-loading them to floppy disks. I tried to reduce the number of disks required by using PKZIP to compress them. For some reason,...
0
votes
2answers
76 views

Is it possible for WinZip to not recognize passwords created with a different WinZip version?

I have a .zip file which came with a "supposedly" correct password to extract it. Yet neither 7-zip not my WinZip trial version recognize that password as correct. The same happens with password-...
0
votes
0answers
57 views

Saving ZIP file attachments and reading them in Git Bash

I lost a lot of time today without finding any solution to what seems a simple problem on Windows 7. Problem description I received a Zip file attachment in Microsoft Outlook, and I want to save it ...
0
votes
0answers
319 views

How to unsplit a split zip archive?

I just read this question How to unzip split files on OS X and it seemed straightforward enough, until I tried it. To create and split a zip archive I used $ zip -s 13 BW.pdf.zip BW.pdf which ...
0
votes
1answer
408 views

Batch archive multiple folders with 7-zip to other directory

In reference to this wonderful work: @echo off if [%1]==[] goto :eof :loop 7z a -tzip "%~1.zip" "%~1" shift if not [%1]==[] goto loop I can't for the heck of it figure out where to put the output ...
0
votes
0answers
182 views

7Zip command line: Add without directory attribute D

I would like to add all files within a folder including all files in all subdirs with their paths to a zip archive. So this seems to be just a normal recursive add, but I need directories to be added ...
1
vote
1answer
352 views

7zip 7za.exe extracts all files to the folder it is running in

I have a zipped folder with subfolders and files within those, which I need to extract with 7za.exe. However, when doing this instead of extracting it correctly, it extracts all the files to the ...
0
votes
0answers
34 views

Zip archives created on Mac cannot be extracted under Debian

I'm experiencing a weird phenomenon. If I: Create a zip archive of some files on my Mac, either with the built in Archive Utility (Right Click → Compress "[Folder Name]") or with the p7zip command ...
0
votes
1answer
33 views

Compressing a large number of files

I know that compressing files reduces the size of the files, sometimes at the expense of quality, so I was wondering how to compress a selection of files whose total size is larger than the maximum ...
0
votes
1answer
48 views

7-Zip: Automate script with excluding folder but include its content(set folder as root itself) in .cbr structure

When i use this script for /d %%X in (*) do "c:\Programs\7-Zip\7z.exe" a "%%X.cbr" "%%X\" in directory like this mainfolder comicfolder1 001.png 002.png comicfolder2 001.png 002....
0
votes
1answer
847 views

How to add password command in zip bat file

I have a script below which is working perfectly, all I need is to add a password & encryption while compressing. Any idea where do I put the -p command to make it work? I tried but it is not ...
0
votes
1answer
59 views

How to compress a bunch of files efficiently?

Let's say you have a lot of files to archive. They are in several different file formats (txt, docx, pdf, png, jpg, mp3, zip, etc.). What are the best practices to compress them all, so that they ...
0
votes
1answer
19 views

Zipping files according to filenames

Daily we receive five files like this: vi_250000364846.dqa_report.xlsx vi_250000364846.3553_report vi_250000364846.MSR_report vi_250000364857.3553_report vi_250000364857.dqa_report.xlsx The numbers ...
1
vote
0answers
198 views

TSQL XP_CMDSHELL 7ZIP UNZIPPING

I am struggling to unzip a file from using 7-zip. I am running from SSMS the followng command, password is replaced by text "password". exec XP_CMDSHELL 'C:\"Program Files (x86)"\7-Zip\7z.exe e -...
2
votes
1answer
252 views

Fastest way to compress (i.e. archive into a single file) millions of small files on a powerful cluster to speed up transfer of files

IMPORTANT NOTE: Compression is NOT the goal, archiving/taping (packing all of the files into a single archive) is the goal. I want to backup a single directory, which contains hundreds of sub-...
0
votes
0answers
23 views

Restoring file after zipping, when it become binary [duplicate]

I zip my python file into file.py.gz on Linux. After that my file become something like a binary file. When I am open file with vim, on the bottom was a text " [noeol] [converted]. I want to restore ...
2
votes
2answers
262 views

How to slice an epub into smaller volumes?

Some Microsoft books, and O'Reilly as well, are on the excessive side. Starting from PDF, calibre can conver to epub easily. Or, some are available as epub and even mobi. Dealing only with `epub' ...
0
votes
1answer
37 views

extract file from zip that is inside another zip

I have a file structure as so: archive.zip contains: directory archive which contains: zip_1.zip contains: file.txt zip_2.zip zip_3.zip Is there a way that I ...
0
votes
0answers
279 views

Create self-extract archive with specified path from command line

I'm currently using 7zip as archive creator and 7zip SFX Builder as SFX packager, because I need to specify InstallPath which is not supported by vanilla 7zip. The problem is that I have to manually ...
0
votes
0answers
328 views

Extract specific directory from zipped archive to different directory using Windows CMD shell

GitHub zip files normally contain a single directory in the zip. I want to unzip the contents of a zipped directory to a different directory as shown in Linux answer at: How to extract only a specific ...
3
votes
1answer
1k views

7za create AES256 password protected encrypted zip of a folder

I want to create an AES256 encrypted zip of a folder. I am on Mac and I want to create the zip file and store it in an external drive. I want to AES256 encrypt the file in case I lose the external ...
0
votes
1answer
557 views

Trying to unzip a file inside sub directory getting error: caution: filename not matched

So I have a script that iterates over zip files, lists their content with unzip -l $filename, and looks for matches to pattern (.*)report.xml, in this case yields test0\report.xml But when it tries ...