Questions tagged [zip]
Compression and archive format that stores one or more files into a single file, usually with a .zip file extension.
1,152
questions
0
votes
0
answers
29
views
A zip file which shows all files in archive root directory from subfolders in a windows file explorer view
Some one shared me a zip file shown in the windows file explorer that all the files in the subdir are placed in the archive root dir. The hierachy is like the following box:
│ fileone.txt......dir/...
0
votes
1
answer
82
views
absolute fastest way to zip (not compress) larger files in 7zip?
I need to know the absolute fastest way to zip (not compress) larger files in 7-Zip.
By large files I mean 1Tb or so, this will be done often (multiple times per day).
I tried WinZip because it has ...
0
votes
0
answers
36
views
Is it possible to recover a zip file corrupted by GnuPG?
I recently started encrypting a zip file with:
gpg --symmetric my_file.zip
It was taking a long time - the archive is about 300 MB - and so I decided to cancel the operation part way through. The zip ...
0
votes
1
answer
70
views
How to prevent Windows from throwing an error everytime it tries to copy a file named with illegal characters?
I'm extracting a medium sized ZIP file which contains thousands of tiny files with different names. Some of these files have names which include illegal character like ":". This causes ...
1
vote
0
answers
21
views
Creating a script for Windows 11 to gzip some files using 7-zip then move and replace them in another folder
I have the following directory structure:
Parent Folder: Project
Children of Project: data, rawData
Inside of rawData I have: index.html, settings.html, user.html, script.js, style.css and other files....
0
votes
2
answers
33
views
Extract compressed file - Autohotkey
I have WinRar installed and I would like to know if the program has command line functions to extract the compressed files using a hotkey with autohotkey. I haven't found this, so I've seen other ...
0
votes
2
answers
67
views
How can I extract a .zip file with 7zip with a cmd command?
I have the following problem:
I have a test.zip
This test .zip should be extracted to a "test" folder.
But i have a test1, test2..., test23. So no matter how its named, the folder should ...
1
vote
1
answer
61
views
Transfer a .zipped .CHM file still make it unreadable
I create a .CHM file on a online computer at vagon.io, and then transfer it to my local computer. But when opening it, I get "Unknown Publisher" error and the page contents are blank.
I find ...
0
votes
0
answers
53
views
Optimizing 7z command line options for speed and compression ratio of large .bak files
I am currently dealing with a multitude of .bak files, each averaging around 300GB in size, and I need to compress them using the 7z command line. My primary objective is to strike a balance between ...
0
votes
0
answers
139
views
Zip Repair that actually works?
We use a ZIP archive as a container for out application's project files. These occasionally turn up corrupted, and almost invariably this corruption is in the form of a lost CRC on one of the files in ...
2
votes
2
answers
80
views
opening a self-opening, password protected archive with .zip.exe extension on a Mac
I am trying to open a password protected file:
unzip -v -P password123 filename.zip.exe
The output I get is:
Archive: filename.zip.exe End-of-central-directory signature not found. Either this file ...
0
votes
1
answer
80
views
Unix: zip folder ignoring folder structure and excluding a subdirectory
I want to create a zip ignoring the folder structure, and excluding the content of a specific subfolder.
I have tried:
zip -rj /path/to/target.zip /path/to/source -x "/path/to/source/subfolder/*&...
0
votes
1
answer
105
views
zip each file in a folder with max. 100 MB and use random names for the zip file
is there a way or multiple ways how to zip the files in each folder and save it with a random chosen name?
An example would be: i have three main folders with names A, B, C. Each folder contains a ...
2
votes
1
answer
222
views
How to verify that multipart zip file is valid
I want to verify that a multipart zip file that I've created is valid, but because of the 4 GB output limit imposed by my filesystem, I am unable to do so.
I used the following command to create a ...
0
votes
1
answer
75
views
Delete a case insensitive filename from a .zip file
I appreciate the feedback, especially about asking better questions. I've been reading more about better etiquette here, and hope I'm not breaking any rules now. But I realize I worded my original ...
4
votes
3
answers
926
views
How to get zip to update file in an archive even if the file on the filesystem is older
If I have the following zip:
my.zip
|- folder
| `- to-update.txt
`- some-other-file.txt
and a folder structure:
working-directory
`- folder
`- to-update.txt
I wish to copy the file to-update....
1
vote
1
answer
81
views
exe file does not open after extracting from an archive
I came across a very strange situation for me.
I transferred all of the files uploaded on a disk with medical scans (CAT scan) to my flash drive and then from the flash drive to my PC.
These are the ...
0
votes
1
answer
179
views
Zip file to verify if not modified
I want to zip source code of my application and provide it to my client. I want to somehow assign to it an id or whatever which would describe the status of zipped files in official agreement between ...
0
votes
0
answers
20
views
Trying to zip only an extension
im looking for a solution, since I'm changing all my comics cbr to cbz I'm using 7zip, but i have a problem: sometimes some cbr have many layers of subfolders inside.
Im trying to find a way to just ...
0
votes
0
answers
26
views
Why might I not be able to delete a file from an unextracted zip folder?
I have a zip folder (40-50GB) that contains a set of data files and a single (1 KB) .ahk script. The .ahk script was used to unencrypt the data files in a folder before creating a zip of that folder ...
0
votes
0
answers
90
views
What compression options does 7Zip use when you add files with a drag-drop?
When you create an archive with 7Zip, you get a dialog showing you a bunch of compression options. However when you drag-drop some files into an already-open archive in a 7Zip window, you just get a &...
1
vote
0
answers
521
views
hashcat pkzip2 token length exeption
I have a ZipCrypto-encrypted archive and I lost the password. I'm trying to crack it using zip2john and hashcat but I got this error. Is there any way to fix it?
Hashfile './test2.txt' on line 1 ($...
3
votes
1
answer
143
views
7z batch file create individual( 7z or zip) with a master PW
I use this command with notepad. Save it as 7z.bat in a folder you want to individually .7z or .zip the files. With -p{pasword} -mhe *.txt
@ECHO OFF
FOR %%i IN (*.*) DO (
ECHO "%%i" | FIND ...
0
votes
1
answer
249
views
How to see all the files inside a zip file using SFTP command?
I am trying to list all of the files inside remote server using SFTP. However the commands I tried so far such as unzip -l, less, zipinfo does not working with an error of "invalid command". ...
1
vote
1
answer
499
views
How to zip files in a specific date range
I'm looking for a way to zip files in a specific date range using a script.
For example I would need something that zips files in a specified folder with date modified being 2020.
I tried the solution ...
0
votes
0
answers
85
views
Why Does 7zip give the error that certain files inside a zip downloaded from Dropbox are corrupted when they clearly are not?
My wife has a ton of data that she has worked on over the course of a decade saved on Dropbox, and we are trying to back this up to a local external drive so that we have two copies. I've downloaded ...
0
votes
0
answers
47
views
Unable to decompress Password Protected Zips
I used Coolpad Note 3 lite with Android version 5.1 (lollipop). Using system's stock file manager I compressed many important files and made password protected zips & password protected nested ...
0
votes
1
answer
292
views
Unzipping potentially corrupt zip file
I have the following file: onedrive.zip
When I try to unzip it:
unzip onedrive.zip
Archive: onedrive.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it ...
-1
votes
0
answers
120
views
Similar VHD(x) files compression
Recently I am organizing my storage backups and convert them to vhdx for boot them from hyper-v.
But now I notice all of those vhd files contain same content like OS and user's documents with slightly ...
0
votes
0
answers
23
views
Unzip file with colon in the name on Windows [duplicate]
My university has a system to download any professor's lecture notes in bulk as zip files. After a recent update on the server-side, the zipped files (contents) have names like this:
WINSEM2022-...
0
votes
1
answer
130
views
How to add file inside folder of a zip
How do I add a file/folder in a zip file that isn't in the root folder? For example in
test.zip\parent test folder\folder1
and I want to add test1.txt inside the \folder1 of the zip file?
I am using ...
0
votes
0
answers
36
views
Recovering a zip decryption password I have used it once and then forgot it [duplicate]
So I have received a ZIP file that is password encrypted.
I have used BreeZip to unzip and view the files initially, which required a password, which I have lost. As I was using the free version of ...
0
votes
0
answers
30
views
How to delta compress audio track file , video tracks file, full webm file into one zip file?
Using yt-dlp -k https://youtu.be/33BT7KIZwTY,
I downloaded audio and video files and obtained a merged webm file.
After running the command, there are three files:
youtube originals [33BT7KIZwTY].f251....
0
votes
1
answer
2k
views
Zip file compression failed “output file write failure, your disk could be full” even though I have enough space
I want to compress a 45 gb file with zip, but it says “output file write failure, your disk could be full” after about 20 minutes. I have another 4 terabytes of storage left.
0
votes
0
answers
62
views
How to get Windows 10 send to compress all folders that start with a period/dot?
I saw a similar question for Windows 7 but my question is for Windows 10.
In Windows 10, if you right click on a folder and use Send To > Compress, the ZIP file will not include all of the folders ...
1
vote
1
answer
761
views
Batch Script to delete certain files inside subfolders of a main subfolder
My problem is this
I have an extensive collection of pictures spanning several sub-folders (I'm talking of several hundred of folders, not a few), under a main folder, as example:
Birthdays
Mom
...
0
votes
0
answers
34
views
Loop through folders compressing subdirectories and renaming after parent folder
I have a directory of folders as follows:
ABC-2000-001-01.pax
|_FolderA
|_Files
|_FolderB
|_Files
ABC-2000-001-02.pax
|_FolderA
|_Files
|_FolderB
|_Files
ABC-2000-001-03.pax
|_FolderA
|...
0
votes
0
answers
33
views
Cracking a zip file without accessing its content
Can you strip the payload of an encrypted ZIP file in a way that the usual password cracking tools will still work with the ZIP file? The idea is that the stripped file, to which the password has been ...
0
votes
1
answer
374
views
How can I reach the last Zip file in a long row of nested Zip files
I have a task to reach the last file in long row of nested Zip archives. They go like this:
3301.zip
|
3300.zip
|
3299.zip
|
...
0
votes
1
answer
81
views
zip: set minimum deflate percentage
I want to create a zip file that will be decompressed by a low-power cpu
Deflate compression decreases the filesize, but adds to the decompression time.
The zip command seems to do some analysis ...
0
votes
0
answers
217
views
Extract files in a Windows directory using a loop for 7z.exe and excluding a particular directory
Using a .bat script for 7z.exe on Windows, I'm trying to extract all .zip files to a folder with the same name. I want all output folders to stay in their respective subdirectories. Thanks to Extract ...
1
vote
0
answers
749
views
Extracting a PE32 Windows executable archive in Linux
Is it possible to extract a password protected Windows executable (.exe) in Linux?
This is the file's type:
file.exe: PE32 executable (GUI) Intel 80386, for MS Windows
1
vote
1
answer
75
views
Easy way for a Windows user to encrypt a file that is to be distributed by e-mail?
I don't have Windows myself but I need a non-computer-savvy Windows user to e-mail me a file that should be encrypted before it is sent and I must to instruct him on how to do this. Are there any ...
1
vote
1
answer
1k
views
Very slow extraction of a tar file on an external drive
I am trying to unzip a tar file on an external hard drive which is taking way to long.
The file is 100GB compressed and will be 500GB uncompressed.
I am using the following commands on windows command ...
1
vote
1
answer
924
views
Unable unzip file with the correct password
Before i used command "zip -eq file.zip /folder" to zip my folder with the password. Now I unzip the file with the correct password but always show "Wrong password". I also tried ...
0
votes
1
answer
455
views
Can we install git bash other than the in the .exe form, that is like in a zip file?
I am facing an issue which makes it difficult for me to install git bash in .exe format -Computer crashes frequently whenever I try to run a .exe file before the system asks permission to run. So is ...
1
vote
2
answers
103
views
Is there anything "bad" data preservation-wise about zipping a big dir of subdirs and tons of files?
I have a "gold backup base" directory tree of 48 GB of data containing "11 411 Files, 1 054 Folders".
Since USB/ROBOCOPY/Windows takes forever to transfer many little files to all ...
1
vote
0
answers
167
views
Attempts to Zip files by date not working as expected
I am trying to zip up a bunch of files, but only those created on a certain date. I'm trying to use the -t option, but it's not finding the files that I can clearly see are there.
This is a sample of ...
1
vote
1
answer
423
views
Unzipping files in multiple folders into subfolders in the folders with same name as zip
I solved this problem, see answer below. Now my question is, how to make it tolerate directories with spaces in the dir name.
I'm looking for a command line for 7zip that achieves the following:
I ...
0
votes
1
answer
2k
views
Why is it faster to zip a million 1KB files, transfer them, and unzip them, than to directly transfer those same files?
This is not just for local drive transfers. I've even noticed that when pushing or pulling files to servers, or simply uploading to a service like Google Drive, it is usually significantly faster to ...