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

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
164 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
432 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
424 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
274 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
27k 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
80 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
147 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
140 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
382 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
213 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
62 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
334 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
350 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
165 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
127 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
460 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
57 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
114 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"' ...
7
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
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
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
57 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
139 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
35 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
214 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
98 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
57k 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
88 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
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?
142
votes
8answers
132k views

View files in ZIP archive on Linux

How can I view the files in a ZIP archive without decompressing it?
1
vote
1answer
443 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*) ...
0
votes
1answer
188 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
37 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
81 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
183 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
28k 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? ...