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

3
votes
1answer
1k 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
23 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 ...
0
votes
1answer
24 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
1answer
25 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
35 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
32 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 ...
0
votes
1answer
26 views

how to open a zipped folder shown as zip.xml file?

I zipped some folders using winzip on my old laptop and copied to an external drive. The folders contain all types of files including xls, doc, ppt, etc. Now I am trying to open the zipped folders in ...
1
vote
1answer
24 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" ...
0
votes
1answer
2k 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/ ...
1
vote
3answers
29 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
240 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
13 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
17 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
48 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"' ...
1
vote
2answers
43 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 ...
5
votes
3answers
4k 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
12 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
46 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
vote
0answers
165 views

Can Not Start Glassfish 4.1 Server, Download, Unzip, Install, Windows 8.1

Before I start I wanted to say, I have to put a space in many of the links because I am new to superuser & have restrictions. You'll find the spaces http:// (HERE) localhost:4848/. I'm sorry for ...
-1
votes
1answer
35 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? ...
3
votes
2answers
11k 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' ...
8
votes
4answers
5k views

How can I control the order of files in a ZIP archive?

There are times when it is necessary for the files in a ZIP archive to be in a specific order (for example, I'm currently creating EPUBs, which require that the first entry in the ZIP be the mimetype ...
1
vote
1answer
26 views

Unzip a file into a target directory?

I have a file called All CRGs.zip and I want to unzip its contents into a directory called data (which already exists and has some other files in). Is this possible? I'm working on OSX. I've tried: ...
0
votes
1answer
37 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
22 views

Unzip all zip files in a directory without overwriting?

I'm working in OSX. I have a lot of zip files in a directory called data and I would like to unzip them all: $ ls data 62.zip 63.zip 64.zip ... I'm using the following command: unzip -d data ...
0
votes
1answer
18 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
34 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
16 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
24 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
4k 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 ...
0
votes
6answers
39k 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
34 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 ...
31
votes
2answers
20k 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?
82
votes
8answers
74k views

View files in ZIP archive on Linux

How can I view the files in a ZIP archive without decompressing it?
1
vote
1answer
41 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 ...
2
votes
2answers
189 views

How do I make zip files that unzip cleanly on any OS with native tools?

If I make a zip file on OSX 10.6 with the OS native tool, and unarchive it on Windows 7, it's root directory will be doubly nested in another one with the same name, and it will contain all kinds of ...
0
votes
0answers
21 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
35 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
78 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
18 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 ...
2
votes
0answers
30 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 ...
1
vote
2answers
3k 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
29 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
75 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 ...
20
votes
6answers
19k 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
8k 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 ...
1
vote
1answer
42 views

Unzip Interrupted

I want to unzip a bunch of files. The unzip process may get killed part of the way through. I'd like to continue unzipping with, say unzip -n, but it seems as though if a file was only partially ...
0
votes
1answer
52 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
272 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
97 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 ...