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

1
vote
1answer
6k views

Unix zip: zip multiple folders in to one zip file without creating a top containing folder

I have a folder like this: -resources --graphics --sounds I want to zip graphics and sounds folder into a .zip file named resources.zip, which I will use zip -r resources.zip graphics/ sounds/ ...
19
votes
2answers
14k views

Is zip's encryption really bad?

The standard advice for many years regarding compression and encryption has been that the encryption strength of zip is bad. Is this really the case in this day and age? I read this article about ...
0
votes
1answer
30 views

Unzipping from Flash Drive and Drive Wear

If I have a zip file on a thumb flash drive and I want to unzip it to hard disk, is there any write activity on the flash drive, or is it reading only? Because if there is any writing, I would want ...
0
votes
1answer
103 views

zip extractor reading archives from stdin

As follows from UNZIP(1L) man page Archives read from standard input are not yet supported Are there another CLI programs running under Linux/cygwin which can extract from zip archives reading ...
7
votes
1answer
704 views

Fix encoding of German umlauts in directories and filenames (ü = u╠ê and so on)

I have many zip-files where there are encoding errors for the German umlauts (äüöÄÜÖß). They show up in both the filename.zip as well as in the included directories and files like this: Fünf = ...
2
votes
2answers
2k 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
498 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
84 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
82 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
18 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
80 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
14 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
56 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
134 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
389 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
386 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
230 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
209 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 ...
26
votes
8answers
24k 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
63 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
126 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
94 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
46 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
203 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
177 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
13k 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
50 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
236 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
252 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
143 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
72 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
43 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
411 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 ...
0
votes
0answers
19 views

In Windows zip explorer change default pattern for generating extraction path

By default, if you un-compress a ZIP file located at C:\Some\Path\To\The.Zip using the Windows Explorer, it will extract contents to C:\Some\Path\To\The\. This happens to me a lot in my Downloads ...
1
vote
1answer
48 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
103 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"' ...
6
votes
3answers
5k 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
0answers
13 views

Zipping folders and using the folder name in the archive [duplicate]

I have a bunch of folders in a directory. I'd like each one zipped in it's own archive and the source folder should be deleted. So if my source folder has: Folder1/ Folder2/ Folder3/ After the ...
0
votes
2answers
713 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
54 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
19k 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
115 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
28 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
166 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
59 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
97 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 ...