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
0 votes
3 answers
34 views

Is there any way to compare zipped folders to unzipped file directory?

I know that Windows Explorer, 7-Zip, Beyond Compare, and others can look into a zipped directory to see the file structure and file names. Is there any way to compare those file names to the unzipped ...
Medajor's user avatar
0 votes
0 answers
48 views

WinRAR - Span Archives instead of splitting (Internet Archive)

I'm having a small issue trying to back up data to the Internet Archive. I have tried to used 7zip to split files into certain sizes (such as 7G or 25G) to upload better, but IA won't accept ...
Noah888's user avatar
0 votes
1 answer
42 views

Exclude all folders containing "discarded" with 7z

When I do 7z a test.zip -x!*discarded* test with test/ test/a.txt test/subfolder/ test/subfolder/a.txt test/subfolder/discarded/ test/subfolder/discarded/a.txt test/subfolder2/a.txt test/subfolder2/...
Basj's user avatar
  • 1,789
1 vote
0 answers
25 views

Determine format of uncompressed ZIP file with ffprobe

I am working on a project where I need to handle ZIP archives that contain media files. Specifically, I have two files, video1.hevc and video2.mp4. For testing purposes, I created two ZIP archives ...
Gman's user avatar
  • 23
0 votes
1 answer
31 views

How to encrypt folder files using zip.exe [closed]

Example -path1 - desktop/file_source Path2 - desktop/e_data_source. How can we encrypt files from desktop/file_source to desktope_data_source path using zip.exe in cmd. Could you please help me.? Is ...
Siri chandana's user avatar
0 votes
1 answer
55 views

Why does zip --exclude only exclude files in the folder but not the folder itself?

I have the following command run in the bash shell which excludes the files in the folder scripts/. I tried the answer in Zip command for excluding directories and files but unfortunately it did not ...
Macky's Printing Services's user avatar
0 votes
1 answer
62 views

Split zip archives using WinRar vs 7-Zip

I created a split zip archive using WinRar and 7-Zip. WinRar creates archive.zip archive.z01 archive.z02 .... 7-Zip creates archive.zip.001 archive.zip.002 ... With Total Commander I could enter(CTRL+...
user4691's user avatar
  • 171
0 votes
2 answers
126 views

Preventing Windows from displaying "insert last disk" message

I inserted a USB stick into my PC. The USB stick contained a single ZIP file only (not part of multiple ZIP files). The ZIP file was somehow corrupted. Windows Explorer showed this message immediately ...
Thomas Weller's user avatar
0 votes
0 answers
40 views

Zipping a folder and sub-directories not working without sudo?

I wrote a python script using Amazon's AWS Boto3 SDK to download files from an S3 bucket and puts them in a folder (in a directory within my home dir). For reference, the function I used was the s3 ...
Prithvi Boinpally's user avatar
2 votes
2 answers
535 views

How do I extract a multi-level compressed file (recursion) with 7-zip in one command?

If possible, how can a file that's been compressed in multiple levels, like the following example.7z file, be extracted in a single command? Assume there is only one final uncompressed file. example....
Nathan J.B.'s user avatar
1 vote
1 answer
225 views

How to modify internal XML of PPTX files without corrupting them?

I opened this question in SO site but it seems is more appropiate here. Inside an .pptx file we have this structure I'm trying to edit the content of internal slide2.xml in ..\ppt\slides. The slide2....
Rasec Malkic's user avatar
1 vote
1 answer
251 views

Add a top level empty directory to a zip file on Windows

When creating a zip file with Windows, it gives an error message if adding an empty folder and excludes it. It is no problem if you add a directory containing a child directory that is empty, but if ...
Pluto's user avatar
  • 161
1 vote
1 answer
161 views

Compress each directory to its own Zip file from command line

I have a directory of directories. I want to compress each of them in to its own zip file, keeping the same name. I don't want it to be recursive, I just want to compress dozens of folders in the same ...
Will Hanley's user avatar
0 votes
2 answers
136 views

If I ZIP a folder in NTFS, is the ZIP file NTFS?

If I zip a folder from an NTFS partition, can it be extracted on a device or OS that can't read the NTFS filesystem? More generally, do zip files preserve the filesystem of the unzipped folder in some ...
igmkjp's user avatar
  • 11
1 vote
2 answers
152 views

What's the minimal (and fastest) way to touch a big file just enough to change it's HASH?

I have big files (.iso, .mkv, etc) for which I need to change the HASH, so that they are not detected in a potential DHT network during transfer. One obvious way is to add them to a zip file and break ...
Serban's user avatar
  • 175
0 votes
1 answer
98 views

Using the built in zip extraction in Windows 11, extracting to a network share on samba doesn't allow execution of a program

Using the built in zip extraction in Windows 11, extracting to a network share on samba doesn't allow execution of a program, however. Extracting with Winrar works fine. I have a zip file with an ...
MikeP's user avatar
  • 121
1 vote
0 answers
207 views

Batch to rar files based on total size

Looking for a batch script that allows to get files from a folder (.\source) and create a .rar file on other folder (.\target), with those files, but with a maximum given size of the all files inside ...
jt99's user avatar
  • 11
0 votes
3 answers
171 views

How to batch create folders to move in a .zip file and a .pdf sharing the same name (minus extension)

I have about 1000 ESRI shapefiles and each one is associated with a written report that I have saved as a pdf. The zipped file and the associated pdf share the same filename (minus the extension). I ...
Steve T's user avatar
  • 11
9 votes
2 answers
2k views

Cannot Zip folder that is too deep in subfolders

I am unable to zip a folder if the folder is too deep in subfolders. My company uses Dropbox, so we have a lot of folders in folders. For example, a path to a folder might look like this: C:\Users\...
AndrewH's user avatar
  • 189
0 votes
0 answers
112 views

File shows up in zipinfo but not unzip?

I have a huge (~300GB) zipped archive and I'm trying to extract a few files from it while ignoring the rest. Running zipinfo on the archive brings up a list of files but when I try to extract one of ...
Josh Tint's user avatar
0 votes
0 answers
323 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/...
Wenjay Chang's user avatar
0 votes
1 answer
600 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 ...
Stugots2's user avatar
0 votes
0 answers
78 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 ...
chancellorofpaphos's user avatar
0 votes
1 answer
459 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 ...
YEp d's user avatar
  • 1
1 vote
0 answers
258 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....
George Florian's user avatar
0 votes
2 answers
141 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 ...
Elermino's user avatar
0 votes
2 answers
840 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 ...
Roman's user avatar
  • 1
1 vote
1 answer
92 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 ...
alancc's user avatar
  • 167
0 votes
0 answers
437 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 ...
m'hd semps's user avatar
2 votes
2 answers
199 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 ...
Daniel 's user avatar
0 votes
1 answer
1k 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/*&...
Alessandro C's user avatar
0 votes
1 answer
375 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 ...
Crues's user avatar
  • 1
2 votes
1 answer
652 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 ...
b00kgrrl's user avatar
  • 123
0 votes
1 answer
100 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 ...
user160222's user avatar
4 votes
3 answers
1k 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....
Druckles's user avatar
  • 2,177
1 vote
1 answer
264 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 ...
Math Student's user avatar
0 votes
1 answer
1k 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 ...
Arie's user avatar
  • 103
0 votes
0 answers
22 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 ...
Fernando Benavides's user avatar
0 votes
0 answers
107 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 ...
lampShadesDrifter's user avatar
0 votes
0 answers
288 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 &...
Jez's user avatar
  • 2,958
1 vote
0 answers
1k 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 ($...
Ilham Yassin's user avatar
3 votes
1 answer
454 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 ...
André Gravel's user avatar
0 votes
1 answer
623 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". ...
B.Y.'s user avatar
  • 1
1 vote
1 answer
1k 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 ...
Pribovich's user avatar
0 votes
0 answers
248 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 ...
jaredad7's user avatar
  • 175
0 votes
0 answers
66 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 ...
rTx's user avatar
  • 1
0 votes
1 answer
643 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 ...
pkaramol's user avatar
  • 135
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-...
eccentricOrange's user avatar
0 votes
1 answer
462 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 ...
ghostanime2001's user avatar
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 ...
user1780949's user avatar

1
2 3 4 5
24