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

Winrar command line zip folder

I am trying to use WinRAR command line to zip folder: "c:\Program Files\WinRAR\WinRAR.exe" a -afzip "e:\output.zip" "e:\foldertozip\" If the foldertozip contains file, the command line works. But ...
2
votes
1answer
1k views

Compress large CSV FIle? (500MB)

I have a CSV-File which is 500MB of size. I am searching for a way to compress is to it smallest possible size. I actually received the file back then in a ZIP-Folder which was only about 50MB of ...
2
votes
1answer
91 views

Why does 7-Zip's compression speed lower over time?

I'm busy backing up my local server files, which amounts to just under 4GB of data in ~295000 files. I selected 7z as the format, and set the level to Store. The process started pretty quickly, but ...
0
votes
1answer
91 views

How do I zip files with the same name?

I'm on a Mac OS X 10.10.4 I need this: Detecting files with the same name, but different extension. (aaa.ai, aaa.eps, aaa.pdf and bbb.ai, bbb,eps, bbb.pdf and so on) Compressing those with the same ...
0
votes
0answers
22 views

Create archive with compression method 14

I received an archive which has the following header structure (example structure): 50 4b 03 04 14 00 00 00 0e 00 55 7b ae 46 17 7e db 6d 0b 1f 00 00 f6 06 02 00 16 00 00 00 //filename 50 4b 03 04 ...
0
votes
1answer
112 views

extract all .jpg files from all .zip and .rar files in a directory and its subdirectories

I think I've prettu much said it all. I want to create a .bat that lets me extract all files with a certain extrnsion from all .rar and .zip files in a folder, all together into another folder. ...
0
votes
1answer
16 views

Can I use the “Open with…” context menu item within zip folders?

Normally in windows explorer, there is an "Open with..." item in the context menu, that allows choosing a non-default program to open the file with. When within a zip folder, this menu item is ...
0
votes
0answers
57 views

Display HTML file that's in a zip directory on a server in a browser?

I'm curious if this is possible. I'm trying this on a MacBook running Yosemite with localhost (AMP). In my localhost within a browser, is it possible to get a response for the contents of a .zip'd ...
1
vote
2answers
170 views

bash: find and zip all subfolders of a folder

how would one find all subfolders of a folder and zip them separately ? folder structure ./folder -subfolder_1 -subfolder_2 -subfolder_3 expected result: ./folder ...
0
votes
2answers
435 views

Using command-line to pack files individually into .zip format while keeping directory structure

I'm trying to create a cmd script that recursively traverses a directory and zip each file individually. This I have done here: for /R %%b IN (*.*) do ( "C:\Program Files\WinRAR\WinRAR.exe" a ...
0
votes
1answer
1k views

.zip corrupted on Mac

I've got a .zip file of approx. 20GB. (20,497,570,063 bytes) I am trying to uncompress it but both Archive Utility and Terminal are failing to do so. Archive Utility is giving error 2 (no such file ...
-1
votes
1answer
38 views

Need help extracting Windows 7 Enterprise aero.theme file

Ok SuperUsers, I need help extracting the native aero.theme file. (Not the downloaded themepacks). This is the one that ships natively with Windows 7 Enterprise. Specifically I am looking to get the ...
0
votes
2answers
466 views

Automating a folder backup task (zip, move, then rename according to naming convention)

I am attempting to automate the backup of a folder on a Windows 2003 R2 server (currently a manual process). There are three components to this task: 1) Generate a zip file of the following folder ...
0
votes
0answers
307 views

How to recursively extract a zip bomb?

I downloaded the famous 42.zip zip bomb and was able to extract it in my computer without my system crashing. Then I realized that in order to see the effects of the bomb, I will need to recursively ...
28
votes
8answers
28k views

How to create a zip file compatible with Windows under Linux

I need to make a zip file available to all my Windows users visitors, so I naively produced a zip file with the Unix zip command (let's call it madeinlinux.zip). It opens successfully with WinRar or ...
1
vote
0answers
82 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 ...
0
votes
0answers
155 views

How to modify Word document package object (oleObject) metadata in order to fix path leaks?

I created a docx Word document and inserted a zip archive as icon using Word 2007 on Windows XP operating system, then opened that document using Word 2007 on Windows 7 operating system (on other ...
2
votes
2answers
149 views

How to compress multiple files with similar names?

So I've got some 20 000 files that I want to compress and group by following logic: compress every file that have identical characters up to ( also include files that have no ( So the files are ...
1
vote
1answer
53 views

Can I make windows open renamed zip files in explorer?

I have some files on my system (extension .sublime-package). These files are nothing but a .zip with a different file extension. I can currently browse them by renaming the file, then double clicking ...
0
votes
1answer
2k views

Combine unzipped xml files back into a working XLSX file

I can rename an Excel file extension from .XLSX to .zip and extract out the xml files. How do I combine individual Excel xml files back into a single XLSX file? I tried zipping up the folder ...
0
votes
1answer
422 views

How to zip an archive while keeping some symlinks but not others? (OS X)

I'm using the zip command line tool on OS X to compress an Xcode project folder. Included in that folder is a .framework for OS X which includes symlinks like xx.framework/Versions/Current which ...
0
votes
0answers
222 views

Unzipped Files Missing When Unzipped to Zip Parent Directory on Network

Related to but not the same as: http://stackoverflow.com/questions/30509013/files-not-displaying-in-windows-explorer-following-vba-unzip In trying to solve the above linked question, I have stopped ...
3
votes
2answers
14k views

How to extract data from a partially corrupt multi-part rar archive?

I downloaded a video that's 11 parts the other day. Today I tried to extract it but it tells me that part04 is corrupt. So I checked "keep broken files", but of course it only gave me the beginning of ...
7
votes
5answers
6k views

How to open corrupted ZIP files?

How can I open (or repair) corrupted ZIP files on Windows? Is there a way to force 7-Zip to open them?
3
votes
1answer
2k views

How can I compare just the file contents of two zip files

I created these two zip files about 24 hours apart. $ ls -l /tmp/*.zip -rw-rw-r-- 1 scott scott 1401289 Mar 21 20:11 /tmp/inc1.zip -rw-rw-r-- 1 scott scott 1401289 Mar 22 19:29 /tmp/inc2.zip You ...
0
votes
1answer
63 views

How to recursively compress subdirectory's files with password

I need to recursively compress subdirectory's files with password and then delete the uncompressed file in bash file. There are zip files and other files. I don't want to compress zip files again. I ...
1
vote
1answer
353 views

Does unzipping a file on a remote server download the files back to my local?

I need to copy a high number of files to a remote windows server. I am connecting to it via VPN and then browsing to the remote folder in Windows Explorer. Problem is uploading is really slow, ...
1
vote
1answer
376 views

I can't get compress.exe to produce anything

I'm trying to emulate the Windows Send to/Compressed (zipped) folder function using the Microsoft tool compress.exe, included as part of the Windows Server 2003 Resource Kit. It might not be possible ...
2
votes
1answer
174 views

How to pass parameters in batch file and zip the file using 7z.exe?

I need to create a batch file as per below requirements 1) pass path1 & path2 while running the batch file exl: testrun.bat E:\ERP\test1.txt E:\ERP\header.txt 2) Need to store these command ...
1
vote
1answer
132 views

How to zip a folder in osx excluding the “Icon” file?

I have been trying to zip a folder using the terminal and excluding the Google Drive pesky "Icon" file. This is the command I tried using: zip my-zipped-folder.zip -r folder-to-zip/ -x "Icon" ...
1
vote
3answers
48 views

Is it better to compress all data or compressed directories?

I'm archiving some projects, let's say each of them has own directory: projects |- project-1 |- project-2 |- project-3 I started compressing them as following: ==== SITUATION 1 ==== projects ...
-1
votes
1answer
474 views

How to rename 7-Zip split files as name_00N.zip instead of name.zip.00N

On Windows, when I create .zip split files with volumes less than 20MB with a command like: 7z a name.zip files\* -v20M I get one or more files named name.zip.001, name.zip.002, etc. I need to ...
1
vote
1answer
58 views

Winrar self extracting SFX fail to launch

I created an SFX file (to unzip and launch a program directly) with Winrar which is supposed to be installed in a TEMP folder. I specified to launch "bin/myprogram.exe" after extraction. When I ...
0
votes
1answer
115 views

How to zip a files but not include it's parent directories

I am using the following code to zip a text file by using Cygwin. master.dbo.xp_cmdshell 'c:\apps\cygwin\bin\zip.exe -j "D:\ZipMe\TestZip\subdir1\random.zip" "D:\ZipMe\TestZip\subdir1\random.text"' ...
8
votes
3answers
6k views

How can I create a .zip file for each folder within another folder?

Under the folder images\, I have the following folders: Usa\ Italy\ Japan\ etc.. I want a script that creates a .zip for each of these folders, so I have usa.zip , italy.zip, japan.zip. How can ...
0
votes
2answers
1k 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 ...
-1
votes
1answer
58 views

How can compressed archives like .RAR be repaired?

I'm interested to know how WinRAR and 7-zip repairs archives but unfortunately I couldn't find any description about this process.So I'm here to ask: How does WinRAR or 7-zip repairing process work? ...
7
votes
2answers
22k views

Error while zipping files with unicode characters in names with Win7's “send to > compressed (zipped) folder”

When I try to zip files containing unicode characters in their names, such as © or ™, I get the following error: [Window Title] Compressed (zipped) Folders Error [Content] 'C:\Asd™.txt' ...
0
votes
1answer
151 views

File Associations Broken

Back Story: I downloaded OuterWilds and the download failed to complete, being incompetent but also tech savvy, i got the "OuterWilds_Alpha_1_2_PC.zip.part" file, renamed it to ...
0
votes
1answer
37 views

Exclude top level files from zip but include directories and contents

This is driving me nuts. All google results are for the reverse scenario. So I have a directory structure like: MyFiles | file1 | file2 | file3 | MoreFiles | | file4 | | ...
0
votes
2answers
222 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 ...
0
votes
1answer
74 views

Perl Archive::Zip weird response

This has really baffled me: This code works fine ... $filename="name_of_file.pdf"; for ($x=0; $x<@pdf; $x++){ $file.=$pdf[$x]; } $file=~s/\*ref\*/$new_aff/g; # converts a variable within the ...
0
votes
1answer
102 views

Show the encryption method used on a Zip file in Linux?

I’d like to see what encryption method was used on a Zip file on Linux. How can I do this? See the following posts for reference: This question which shows the need to verify the encryption: 7-zip ...
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
58k 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
90 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 ...
34
votes
2answers
23k 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?
148
votes
8answers
136k views

View files in ZIP archive on Linux

How can I view the files in a ZIP archive without decompressing it?
1
vote
1answer
486 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
37 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*) ...