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

learn more… | top users | synonyms

2
votes
1answer
6k views

How to zip multiple files into separate archives?

I admit this question was asked here before: Like Zip into separate files where the person who asked didn't specify the OS he used and received no answers. I need to separate a huge directory ...
1
vote
6answers
52k views

“The compressed (zip) folder is invalid or corrupted” error after downloading zip file - sometimes, but not always

I have a zip archive of ~250Mb located on an Apache HTTP server. Several users have complained of a "corrupt zip folder" after downloading the file directly from the website (albeit the site is built ...
0
votes
2answers
75 views

How to handle duplicate files during runtime

we have a program which unzips a file and store the unzippied files in a directory. While unzipping, there may be a chance that the unzipped file come with the same name as we have unzipped as part ...
33
votes
2answers
22k views

How secure are password-protected zip files?

In modern zip utilities like 7zip, you can specify a password when creating a .ZIP file. But, how secure is this? What encryption algorithm(s) are used to secure password-protected zip files?
120
votes
8answers
116k views

View files in ZIP archive on Linux

How can I view the files in a ZIP archive without decompressing it?
1
vote
1answer
315 views

What ZIP compression method do common OS's natively support?

7-zip gives me 5 options for the compression method to zip files with: Deflate Deflate64 LZMA BZip2 PPMd On my Windows 8 machine, the built-in Windows Explorer utility appears to handle LZMA with ...
0
votes
0answers
101 views

Set maximum size of zip/7z archive

I have multiple files that I would like to pack into archives of no more than 100MB. The only option I could find was to split the archive into volumes, but what I want is standalone archives that can ...
0
votes
0answers
36 views

Zip Folder Files using CMD commands in Batch Files [duplicate]

I would like to ask how to zip folder files using cmd commands in batch files. I am quite confused using this command which I found also in one of the questions asked here: for /d %%X in (*Path*) ...
0
votes
1answer
164 views

All zip files downloaded as 7zip

Ever since I downloaded 7zip, and even after I uninstalled it, is that all my zip files are downloaded as 7z files. How in the world can I stop this?! I have been looking for answers for about a month ...
0
votes
1answer
34 views

Inflate multi-file zip files in linux

I just downloaded some zip files that were splited. (The dreamplug rootfs files to be precise). They are called rootfs_dreamplug_v10_Aug-28-20128.zip.001 rootfs_dreamplug_v10_Aug-28-20128.zip.002 ...
1
vote
2answers
4k views

How do I add files from a directory to a .zip-File using the 7zip command line?

I am using the 7zip command line to zip-up files. How can I add all files and subdirectorys from a folder to a zip file (.jar archive file)? I used: 7zip.exe a -t7z file.zip C:\folder Thank you.
0
votes
1answer
75 views

download files from google drive is very dangerous?! All files got exec permission?

I just found out. If you download several files (any file, text, image, binary) as zip from google drive. Then unpack it with Ark locally. All the files in that folder will automatically get exec ...
0
votes
1answer
152 views

Batch Script to ZIP Together Files With Same Names

I have 314 vector images I'm looking to submit to the various stock image sites I'm a contributor to, but a number of these require that the vectors be bundled into a ZIP folder with a JPEG preview ...
21
votes
5answers
26k views

tar – extract discarding directory structure

unzip has a nifty option -j, whereby the directory structure of the archive is discarded, and all files are extracted into the same directory. Is there a way of making tar work in the same way? ...
4
votes
3answers
11k views

What is encryption loss when unzipping?

When I drag files from a .ZIP file my friend sent me, it barks: Do you want to copy this folder without encryption?` A problem is preventing that folder from being encrypted. What's ...
0
votes
1answer
388 views

Batch zipping multiple files into a single archive

I have the following drag-and-drop batch script for creating zip files @echo off if [%1]==[] goto :eof :loop "C:\Program Files\7-Zip\7z.exe" a -tzip "%~1.zip" "%~1" shift if not [%1]==[] goto loop ...
1
vote
2answers
2k views

Unpacking .z01 .z02 .z03 without .zip on LINUX

I have received several archives and they all have extensions of .z01 .z02 .z03 etc. There is no .zip file and no .z00 file. If I transfer these files to my Mac and run them through un-stuffit, it ...
0
votes
1answer
330 views

Can a ZIP file auto-execute files from inside it?

I had a conversation today with a staff member of my e-mail hoster, because the hoster just blocked some mails of customers of me, because they contained ZIP files. After I asked why the mails have ...
30
votes
6answers
23k 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 ...
0
votes
0answers
55 views

How can I change the sub-directory dynamically while I create one .zip file with zipfile?

I have 5 source file within the same directory (datadir) like: ./datadir 1.file 2.bin 3.md5 4.dat 5.xls Then I want to zip these 5 files into one zip and place them into some directory ...
2
votes
1answer
1k views

Why does IE8 corrupt some zip files I download?

For some reason, when I download zip files with IE8, I get Folder is invalid or corrupted. But while downloading with Firefox or Chrome, I can open the file. Is there a fix for this?
8
votes
3answers
872 views

Which archive file formats provide recovery protection against file corruption?

I use my external HDD to back up my files, by putting them into large archive files. I have thousands of tiny files, and put them into archives of 500MB to 4.2GB in size, before sending them to the ...
-1
votes
1answer
30 views

How to extract file to particular type using winzip

If I have a file, how do I extract the file so that it is of a particular type(.xlsx file). In WinZip, all I see is Extract To option.
1
vote
1answer
110 views

In Linux, what would be the best way to recursively ZIP multiple directories at once? [duplicate]

I have a directory, /dir, and it is full of other directories with no common naming scheme. So /dir/EqcWTG /dir/SomeDirectoryName /dir/3435346 and so forth. I would like to turn each one of these ...
-1
votes
1answer
199 views

I can't compress a huge folder on my windows PC because it says file does not exist [closed]

I once had Microsoft reformat my computer. They put my entire old windows folder on the reformatted drive and named it "windows.old". Its 2 GB in size. I've decided to back it up and then delete it. ...
0
votes
1answer
32 views

Dragging a folder full of files into another folder which automatically zips and moves it to an archive drive

I have a question regarding archiving on windows 7 and I will preface it with the problem in an effort to identify what solution I need. Our workflow process dumps printable files to a numbered ...
26
votes
4answers
28k 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?
2
votes
1answer
500 views

filter thunderbird email by attachment type

I'm getting malware sent to me as .zip attachments that are zipped up exe files. I want to setup message filters to catch them but I can't seem to find a way to do that. I tried setting up a customize ...
0
votes
2answers
30 views

Should I archive old folders

I have many folders on my hard drives that contain many media files and logs for old websites I have created for clients that I rarely ever access now. I want to know aside from compressing them what ...
76
votes
9answers
232k views

Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files?

I have a batch file that outputs a text file. I thought it would be nice if I could zip it up too. This will be used in an uncontrolled environment, so I can't make assumptions about the presence of ...
0
votes
1answer
135 views

Uncompress bz2 file from command line on Windows

Is there any tool in the Windows command line that allows me to do this? Otherwise, is there any light and portable application that will allow me to? Related question, can I rename .bz2 extension to ...
1
vote
3answers
1k views

How to optimize ZIP files for size? [closed]

I have a ZIP file (created by Info-ZIP on Linux) and I want to make it as small as possible. I have lots of CPU time to burn on the recompression. I already know advzip, and it managed to reduce the ...
1
vote
2answers
275 views

OSX's command line zip creates root directory

I'm trying to compress files, directly into a zip. What happens is that the zip automatically creates an initial directory in the zip with the name of the zip. Example: zip -r0 myfile mydir/ Will ...
4
votes
2answers
1k views

Restoring ancient zip file spanning floppy disks: pkzipfix equivalents?

I'm about to attempt something odd, and before I wasted time going down the wrong paths, I thought I'd see if anyone here has done this before. I have a zip file created in DOS (in 1997?) with pkzip ...
20
votes
2answers
17k 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 ...
-1
votes
1answer
4k views

John the Ripper: Crack ZipCrypto password

I made a password protected zip file with 7zip, using ZipCrypto algorithm. Set the password to 1234. I am using john-1.7.9-jumbo-7. I followed this manual: ...
3
votes
3answers
1k views

Unzip only updated files

Is there a way to unzip a zip file into a directory, but only do so for updates files (I mean the compressed files inside the zip)? I have a huge directory of files there, and only about 20% are ...
-1
votes
1answer
45 views

Creation date of zip file

Is there any way how can I get creation date of zip file which is stored on server? Or even better when the file was uploaded on server? I do not have access to the server disk, I can only download ...
1
vote
1answer
2k 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?
1
vote
1answer
57 views

How to delete unwanted directory paths in zipped file?

Using bash on OS X 10.10 I'm zipping a folder and saving it elsewhere using this: _now=$(date +"%Y-%m-%d-%H-%M-%S") pushd /Users/me/Documents/local-backups/writing zip -r ...
8
votes
2answers
17k views

Linux: zip greater than 4Gb

I'm getting an error when I try and zip a large file on Linux because it is too large for zip to deal with. Anyone know what commands I can use to get around this? This is the error I'm getting: zip ...
58
votes
5answers
80k views

Read the contents of a zipped file without extraction? [duplicate]

How can I see the contents of a particular file in an archive without extracting the .zip it is contained within? I'm using the Linux command line.
14
votes
3answers
21k views

add password to existing zip file with 7zip

Is it possible to add a password to an existing zipfile with 7zip without going to all the trouble of unpacking it and re-packing it again?
4
votes
4answers
6k views

Recursively unzip files where they reside, then delete the archives

I goofed up a setting on the backup software I use. Normally I would have the files from a network share get loaded into a spare drive, compressed into zip folders, then sent off to the offsite hub. ...
0
votes
1answer
27 views

Report All Files Hierarchically on a Zip-of-Zip Files from the Command-Line Interface

I have a WinZip parent file that contains hundreds of WinZip child files on a Windows 7 64-bit computer. Each child WinZip file has many "grandchild" files within it. I need to create a text file ...
1
vote
2answers
942 views

Force all files in a NTFS compressed folder to automatically compress [Windows]

Is it possible to keep all the files within a NTFS-compressed folder compressed? For example, if I have a compressed a folder using NTFS compression, it will compress all the files inside the folder ...
1
vote
2answers
802 views

zip command on linux how to force to zip only files and not whole directories structure?

I want just stupid, simple thing. ZIP all the content of given directory. What I get as result of: zip -r /home/andi/MEDIA_DUMPS/xyz_media.zip /home/andi/xyz/mega_backend/mega_www/media Is ...
7
votes
5answers
35k views

Reduce .wav file size

I am required by a distance education language course to record some audio and submit it. However, they are being absolutely unreasonable. I am only allowed to attach a file that is 5mb while my ...
2
votes
2answers
2k views

Mac zip archives on windows

What is the best way to open zip archives which are made on a Mac? Frequently when I open a zip archive the date file are 0 bytes, while the mac_osx folder is filled with the correct data files. Its ...
14
votes
8answers
57k views

How do I reassemble a zip file that has been emailed in multiple parts?

I received 3 emails each containing part of a zip file. The extensions end in .z00, .z01 and .z02. (Emailed as such to get around the typical 10Mb attachment limit per email.) I have put all 3 files ...