Skip to main content

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
0 answers
48 views

Windows 11: Opened zip file using "start" but address bar is blank

In Windows 10, when I double-click a zip-file or issue start filename.zip from CMD, Windows Explorer shows the files therein and the full path of the zip file appears in the address bar. The ...
user2153235's user avatar
  • 1,287
0 votes
1 answer
144 views

Unzip to stdout with filenames and file delims

I have a tar which contains many zip files, each of which contains xml files. I would like to untar, unzip, and then do some stuff with the plaintext in the xml files. This entire program is being ...
ghosts_in_the_code's user avatar
0 votes
0 answers
71 views

ZIP files downloaded from iCloud are truncated

What causes ZIP files downloaded from iCloud to be truncated? What can I do about it? Problem My wife emailed me batches of her iPhone photos that were missing from on my PC. Each message has ...
Adrian McCarthy's user avatar
0 votes
0 answers
47 views

Why do documents with inequalities often display incorrectly?

I am a Maths teacher and regularly download worksheets that after unzipping and opening in Word or as a PDF will have inequalities replaced with ... or ,,, and it is always the same, so ... means less ...
Dean Wattam's user avatar
0 votes
0 answers
27 views

Need help writing a simple batch shell script

I'm trying to write a shell script to run on a Windows Server machine; the script will do this: Create a text string that will be the path and filename, which would be as follows: fms25_daily_20240922....
longterm's user avatar
0 votes
1 answer
126 views

Batch zip multiple subfolders in separate folders

I’m trying to batch zip multiple subfolders inside separate folders. For Example: 01\Folder01 02\Folder02 The following code works; however, it initially outputs with a winrar diagnostic error ...
Linux Lad's user avatar
0 votes
1 answer
64 views

reassemble split files from separate zip files

I have a very large file split into smaller chucks (..zip.001,zip.002,zip.003..etc). There are a total of 2300 split files. These split files are stored in 4 separate zip files. Right now, to ...
john's user avatar
  • 11
0 votes
1 answer
55 views

Zip without preserve permissions

I'm trying to pack files into zip archive without preserving their original permissions. When i do it in Windows (by system util or with 7zip) it doesn't save this info. But when i archive same folder ...
Dima Vosk's user avatar
0 votes
0 answers
66 views

zip -FF on split files quietly

I have a bunch of split zip files which is large size. Trying to -FF on the split files. During the process zip asks questions like "zip file.z002 not found" and asks to select different ...
Jimson James's user avatar
0 votes
0 answers
27 views

Excluding directory from zip cli command [duplicate]

NOTE TO MODERATOR: While it is true that there is a question out there that has several conflicting answers to this very question, as I have pointed out in a comment to that question, none of those ...
Dennis 's user avatar
  • 185
0 votes
1 answer
47 views

Tar extract doesn't work on Zip repos with submodules [closed]

Tar extract doesn't work on Zip repos with submodules: curl -L https://github.com/org/repo-with-submodules/archive/refs/heads/main.zip -o ~/Downloads/repo-main.zip tar -xvf ~/Downloads/repo-main.zip -...
Ridhwaan Shakeel's user avatar
0 votes
2 answers
144 views

extract a multifile .zip archive on Linux (with gunzip)

I have a large file in Wondows and neetd to transport it to a Linux server via the linux /tmp folder that has onlz limited capacity. In order to do so I created a zip with 7zip on my Windows host (...
vrms's user avatar
  • 199
0 votes
2 answers
111 views

Batch how to compress an .zip folder without root folder while also being portable

I'm trying to compress multiple separate folders to .zip (whether it be 7zip or PowerShell or tar) as well as being portable (as in the .bat can be anywhere) yes I looked at other posts but none of ...
Jimmy King's user avatar
-1 votes
1 answer
84 views

Hide files and folders with same name

I ran into an issue where I had to restart my computer during a large extraction process involving many zip files :(. All the zip files contain a folder that has the name of the zip file (minus .zip) ...
Brian Jester's user avatar
0 votes
0 answers
122 views

Extracting multiple archives with WinRAR where some are missing parts

I have a folder with a few thousand rar and zip files. Some are separated into multiple parts and others are not. My goal is to extract all of the files. The files are large and I expect this may take ...
jplank's user avatar
  • 1
0 votes
1 answer
358 views

7-Zip Fails to Properly Unzip File via Context Menu and CMD, But Works in GUI

I'm currently encountering a problem with a .zip archive made using 7zip. Whenever I try to unzip it using the context menu (right click -> 7zip -> extract here) or using a bat script (or cmd) &...
JohnKondo's user avatar
2 votes
3 answers
1k views

Changed file and folder names within a compressed .zip email attachment received from Outlook

I am using Outlook and I received an email containing a compressed .zip file. When I download and try to extract its contents, the names of all the files and folders contained inside the compressed ....
kostask's user avatar
  • 71
2 votes
2 answers
579 views

Windows 11 PowerShell zip files except the excluded file and folder paths

I'm trying to zip using PowerShell but it's not excluding the files listed in the excluded_paths. I want to especially exclude all __pycache__ folder occurrences that can be nested in different levels ...
Macky's UserStalker Bot's user avatar
0 votes
0 answers
981 views

File not found or no read permission when trying to compress zip

On Windows 11, when I right click a folder and then choose Compress to Zip file, I get error. Although it makes no sense to close all programs that use this folder, I did close everything and nothing ...
Macky's UserStalker Bot's user avatar
0 votes
1 answer
1k views

How to unzip a zip from macOS on Windows and is the “__MACOSX” folder in a Mac-made Zip the right place to look for the Zip contents?

Somebody sent me a bunch of PDF files as a Zip from their Mac laptop. Now I am trying to extract the PDF files. I am on Windows 10 I can extract a folder __MACOSX and inside it, a folder containing ...
Alexander Gelbukh's user avatar
0 votes
3 answers
496 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
63 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
114 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,907
1 vote
0 answers
41 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
64 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
1 vote
2 answers
290 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 UserStalker Bot's user avatar
0 votes
1 answer
329 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
1 vote
2 answers
2k 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
86 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
1k 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
843 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
641 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
323 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
304 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
332 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
291 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
262 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
218 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
3k 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
  • 213
0 votes
0 answers
180 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
943 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
1 vote
1 answer
2k 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
119 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
1k 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
  • 3
1 vote
0 answers
468 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
215 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
2k 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
112 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
  • 145
0 votes
0 answers
751 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
376 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

1
2 3 4 5
24