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
2 answers
4k views

How to zip and unzip files on mac OS without losing creation date and time?

On a Mac, When I zip and unzip files using finder or using zip/ditto from command line, I lose the creation date of the files/folders and the creation date is automatically set same as the ...
0 votes
3 answers
33 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 ...
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 ...
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 ...
0 votes
1 answer
3k views

Zip files that are downloaded get corrupted many times randomly

I regularly download my torrent directly, instead of using a client, via filestream. Lately I've noticed that my downloads get corrupted many a times, especially zip files. Yesterday I downloaded a 8 ...
1 vote
1 answer
3k 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 ...
6 votes
2 answers
8k views

Unzip Multipart Zip from Command Line

Thanks in advance for any help. I am trying to unzip a multipart zip file from the command line in OSX 10.8.5. I created the zip using zip -s 800m foo.zip foo.mov The file foo.mov is 2.7GB. So I ...
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/...
89 votes
7 answers
152k views

terminal tool (linux) for repair corrupted zip files

I've a corrupt zip file. I've tried to repair it with zip -F file.zip and zip -FF file.zip but was not successful. Is there another terminal tool under Linux for repairing?
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 ...
5 votes
2 answers
26k views

WinSCP - How to Zip, Download and Delete a file?

How is it possible to Zip, Download and Delete (ZDD) a file in WinSCP? For example, your local dir is Desktop and your remote dir (the one in your server machine) is, say, /var/www/html and you want ...
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 ...
54 votes
8 answers
86k views

Zip files without compression

I'd like to bundle a number of big files into a single file, to make them easier to share. The files are already compressed (eg. jpeg, video etc), so I don't need compression, only archiving. How can ...
2 votes
3 answers
4k views

7zip only asks me for a password once when I open an encrypted file

I archived some files on my laptop and encrypted them using 7zip and the first time I tried to open a file, it asks for the password, but after that it never asks for a password. Is there a way to fix ...
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 ...
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+...
2 votes
5 answers
5k views

Is there a way to download parts of the content of a zip file?

If there is a big zip file uploaded on a server, and all you need is some of it's content, is there a way to open it, and choose what you want to download?
1 vote
1 answer
250 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 ...
1 vote
1 answer
376 views

What are the correct tags to use in a .bat file for 7-zip to achieve the same settings as the GUI?

Source for current problem solving: Sevenip.osdn.jp but I cant get anything except -t7z -mx9 -m0=LZMA2 -mmt=1 -md=1024m -v10m to work. I've been adapting Enteleform's code from this answer to a ...
29 votes
2 answers
4k views

Compressing many similar large images?

I'm dealing with a large archive of satellite images of the Earth, each one taken 15 minutes apart over the same area, therefore they are quite similar to each other. Two contiguous ones look like ...
3 votes
3 answers
3k views

How to create a zip file with files in FAT format on Linux

I have to create a zip file (with no compression). I want the files in the zip to be in FAT format. That is, If i use zipinfo command, I should get the following: ... -rw-a-- 2.0 fat ...
5 votes
1 answer
181 views

How to recover a bitcoin wallet on a Windows drive amid 30 gigabytes of files

I need to recover a bitcoin wallet that I created about 8 years ago. I was a kid, and I thought I would be super clever and zip or rar the wallet, then change the extension to an image file. I ...
0 votes
2 answers
125 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 ...
1 vote
1 answer
6k views

Windows batch extract zip files, into folders based on zip name and combining similar zips

I have been searching for a way to bulk extract zip files in a directory and extract them into individual folders based on their zip file name. I found: Extract all Zip's in a directory (incl. ...
71 votes
5 answers
80k views

Avoid unwanted path in Zip file

I'm making a shell script to package some files. I'm zipping a directory like this: zip -r /Users/me/development/something/out.zip /Users/me/development/something/folder/ The problem is that the ...
25 votes
2 answers
44k views

How to zip files in mac without root folder

I used this command >zip -r name.zip myfolder to zip files in a folder. I want to zip all the files in myfolder without including myfolder in zip file. How do I do that?
0 votes
1 answer
1k views

Missing all the options in the Send To menu

So I'm just trying to send a file to a compressed folder from Explorer. But for some reason the only option I have there is "Bluetooth device". Did some Googling, found a suggestion to check the C:\...
6 votes
2 answers
23k views

Remove known password from zip archive without extracting

is it possible to remove a known password from a ZIP archive without extracting the actual archive? I have some heavily compressed archives and want to avoid having to extract and rezip each of those ...
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 ...
0 votes
1 answer
5k views

unzip in root directory while preserving file structure

I want to unzip the entire content of a zip file to the root of my server. However each time i try to do this it creates a folder name for the file. The zip file is called src.zip the file is at the ...
18 votes
5 answers
65k views

How do I enable multi-threaded LZMA2 using 7-zip 9.20 on the command line?

How do I enable multi-threaded LZMA2 using 7-zip 9.20 on the command line? I know this is normally done with the -t option like so: "-tzip" . How do I do this with LZMA2? I tried -tlzma and -...
1 vote
4 answers
2k views

Utility for counting total files inside of multiple Zips?

On Windows 7, I have 120 Zip files, each Zip containing images. Is there any utility or software with which I can confirm how many total images are combined in all 120 Zips?
81 votes
7 answers
472k views

How to unzip a file using the cmd?

I want to make a BAT file that will ZIP or UNZIP a file. For zipping a file, I have found this question: Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip ...
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....
0 votes
2 answers
4k views

Linux zip and exclude directory in Bash script

I am trying to write a bash/shell script to zip up a specific folder and ignore certain sub-dirs in that folder. This is the folder I am trying to zip "sync_test5": My bash script generates an ...
5 votes
1 answer
4k views

Possible bug in 7zip - empty folders extract as empty files

I have a directory structure as follows: Main | |--empty_folder | |--folder | |--example.txt I'm zipping it using the .NET ZipFile.CreateFromDirectory method (but I doubt this has anything to ...
110 votes
9 answers
121k views

On Linux/Unix, does .tar.gz versus .zip matter?

Cross-platform programs are sometimes distributed as .tar.gz for the Unix version and .zip for the Windows version. This makes sense when the contents of each must be different. If, however, the ...
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....
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 ...
6 votes
3 answers
4k views

archiving files without timestamp

I need to archive some files deterministically, so that I get the same archive file if the content of the files is the same. I need this for testing for equality of the archive files later. however, ...
8 votes
5 answers
22k views

Where can I find a zip.exe (that works in Windows 7)?

I am trying to get the OpenOffice SDK installed. Its requirements are a number of programs I ran into a "simple" problem: I can't find a zip program ! Quote: zip tool (2.3 or higher) The ...
3 votes
2 answers
643 views

How to compress one folder into multiple .zip, all independently extractable?

I work with some big image datasets containing millions of images, and I often need to compress the results of each step of processing to be uploaded as backup. I have seen that some datasets can be ...
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 ...
42 votes
15 answers
70k views

How to decompress a ZIP file with specified file/directory name character encoding?

I got ZIP file(s), which contains files, which filenames are in some encoding. Let's say I know encoding of those filenames, but I still dont know how to properly decompress them. Here is example ...
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 ...
1 vote
0 answers
6k views

How can I compress files, with a hyphen in?

At present, I am responsible for keeping backups of an eCommerce's web files. My process is as follows: Make a Local Copy of Web files via FileZilla Upload Local Copy to a Cloud Storage Facility ...
6 votes
1 answer
11k views

Show thumbnails of zipped images

I'm using Windows 10. I have a collection of zip files with JPG images. When I click on the zip file to view the contents, I would like to see a thumbnail of these images (even when I am in "Extra ...
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 ...
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 ...
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 ...

1
2 3 4 5
24