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

Create multiple zip files that are not dependent on each other?

I want to compress a folder into multiple zip files of 50MB each but don't want them to be dependent on each other. When I use Winzip and use the split feature it creates one zip file and the others ...
0
votes
1answer
101 views

How to open a corrupt XML file inside a ZIP archive

My work doc is corrupted and I know how to fix it, I just can't open the document.xml file because WinRAR is saying its corrupt. I can't get any repair tool to look in the zip file to repair the file. ...
0
votes
0answers
27 views

R package not installing under windows

I have an R package that I wrote called myRpkgHere and under linux when I can install it using R CMD INSTALL myRpkgHere which yields the following output: * installing to library ...
0
votes
0answers
13 views

How to emulate WinRar profiles in 7-zip?

In WinRar, I can configure a specific set of file exclusions and save it to a profile. This way, everytime I want to compress some directory, I need only to choose this profile and the exclusion list ...
1
vote
1answer
91 views

Extract .7z archive keeping modified dates of extracted folders

I have a .7z archive created with 7zip, and I can see the contents, including the folders with their modified dates intact. When I extract the archive however, the newly extracted folders all have ...
97
votes
3answers
52k views

What is __MACOSX folder?

What are these __MACOSX folders I keep seeing in zip files made by people on OSX? Some take as much as 30% of the file. What program are producing these __MACOSX folder and how can mac users avoid ...
1
vote
2answers
37 views

How to zip a pair of files with a specific naming convention?

I have translation files in a folder similar to domain-cs_CZ.mo domain-cs_CZ.po domain-da_DK.mo domain-da_DK.po domain-de_DE.mo domain-de_DE.po ... Now I would like to have all languages separated ...
0
votes
2answers
49 views

Extract .tar.gz file that has files with .gz extension

Using this question I 'zipped' the folder with thousands of images on apache server. This apparently changed the files inside the folder itself and zipped the files. But that's not the issue atm. I ...
0
votes
0answers
21 views

7zip is creating solid .zip files. Cannot add/remove/overwrite to .zip files ad-hoc

I'm using 7zip as an archive creation tool. .7z files may be created as solid or nonsolid files. .zip files are supposed to be inherently nonsolid. I have ~5GB of hierarchal folder/file structure ...
0
votes
1answer
38 views

Is it possible to parse a zip file without extraction in PHP

I have 4 questions: Is it possible to scan the entire zip file and navigate inside it without extracting the entire zip using PHP? Will it be time efficient? i.e. I have a zip file of about 50GB ...
1
vote
1answer
91 views

Exclude files and folders when zipping using WinRAR

I have a folder containing subfolders named A, B, C, and some files like file1.doc, file2.bat, file3.doc. Is there any option of the WinRAR software so that, when I zip the folder, I can tell it to ...
0
votes
2answers
56 views

Run zip on command-line

I have a bash file with this line zip -q0X "../$1.epub" mimetype But when I run this file on prompt, this error appear: publish: line 4: zip: command not found What can I do to run zip command? ...
0
votes
1answer
196 views

RAR/ZIP multiple files separately in separate folders

I have 300 winword files sitting in 300 folders. I want to password protect these files with a single password in one go. My understanding is that the easiest way to accomplish this would be to put ...
2
votes
2answers
2k views

decompress ZIP with given encoding

I got ZIP file(s), which contains files, which filenames are in some encoding. Let's say I know encoding of those filenames, but I still dont know how to properly decompress them. Here is example ...
39
votes
7answers
37k views

Unix zip directory but excluded specific subdirectories (and everything within them)

I'm trying to zip a directory (on Unix via SSH) but I need to exclude a couple of subdirectories (and all files and directories within them). So far I have this: zip -r myarchive.zip dir1 -x ...
0
votes
1answer
137 views

Windows Server 2012: how to automate the dump and zip of a MySQL database

I am using a Windows Server 2012. I need to perform a dump of my database every two hours and zip the SQL generated file. The zip file must have this syntax: nameOfFile_date_hour.zip. I don't need ...
1
vote
1answer
50 views

How to copy a .zip from within a .tar to a given location without extracting entire .tar using AWS S3 CLI

OSX 10.11 - python3.5 or AWS CLI (or other tool?) I have ~ 5,000 subdirectories within an Amazon S3 bucket, each subdirectory contains a single .tar. In each .tar it contains only one .zip, ~<1mb ...
0
votes
0answers
31 views

John the Ripper - invocation with .zip file and password

I have .zip file that is compressed with password. I've made hash for this file and trying to run John the Ripper with proper parameters on this hash file. What I need is to find what parameters are ...
24
votes
5answers
7k views

Can Double Zipping Cause Problems?

I have a directory that I have been storing a ton of files in. Among the 10ish types of files there are also .zips of other directories. In my personal experience I vaguely remember issues when ...
2
votes
1answer
159 views

How to hide error dialog box in 7zip?

I am using "C:\Program Files\7-Zip\7zG.exe" -y x -pmypassword "D:\Myfile.rar" -o"D:\Extracted Files\" for extracting a file encrypted with password. Now if 'mypassword' is not the correct password ...
2
votes
3answers
124 views

How can I compress every 10 files in a folder as a separate zip file?

I'm on Windows 10 and trying to work it out with Winrar. The folder contains 500 files, I would like to compress every 10 of them as a separate zip/rar file and create 50 zip/rar files. Is there a ...
0
votes
0answers
91 views

How can I automate zipping and deletion of directories using built-in Windows Server Zip?

I am looking to get some up-to-date advice on how to automate the following process within Windows Server (no 3rd-party utils can be used).. Zip directories (sometimes nested e.g. ...
0
votes
0answers
49 views

Missing all the options in the Send To menu

So I'm just trying to send a file to a compressed folder from Explorer. But for some reason the only option I have there is "Bluetooth device". Did some Googling, found a suggestion to check the ...
115
votes
9answers
12k views

Why is Zip able to compress single file smaller than multiple files with the same content?

Suppose that I have 10,000 XML files. Now suppose that I want to send them to a friend. Before sending them, I would like to compress them. Method 1: Don't compress them Results: Resulting Size: ...
0
votes
1answer
5k views

'zip' is not recognized as an internal or external command, operable program or batch file

I am trying the zip functionality on the windows host through command prompt. When I am running the command zip -r folder.zip folder it gives me error msg 'zip' is not recognized as an internal or ...
4
votes
2answers
29k views

Windows zip error: Windows cannot complete the extraction. The destination file could not be created

I have a strange error in Windows 7 when I want to execute/open a file inside ZIP archive. I have two files: File1.dwg File2.dwg The archive is not corrupted ( I checked with 7zip utility ) ...
0
votes
0answers
44 views

What's the default compression algorithm used by Windows's Compression tool?

I'm trying to find out some documentation which details out which compression algorithm (e.g. deflate, LZMA, BZip2) is used by Windows 10's Send to 'Compressed Folder' tool. Some people reported that ...
9
votes
4answers
18k views

How do I enable multi-threaded LZMA2 using 7-zip 9.20 on the command line?

How do I enable multi-threaded LZMA2 using 7-zip 9.20 on the command line? I know this is normally done with the -t option like so: "-tzip" . How do I do this with LZMA2? I tried -tlzma and ...
-1
votes
1answer
28 views

Create a separate zip from many folders

I have a many folders with files for project. I need: Create a zip from folder "X" Move Zip in the folder "X" Name of Zip must be "X" I'm a Mac OS user. How I can automate the process?
0
votes
2answers
84 views

what's the difference between “zip” and “compress” and “pack” ?

I saw article tile ——"Compress and uncompress files (zip files)" from Windows 7 document here. What's the difference between "zip" and "compress" and “pack”? Is it the same thing? I am so confused ...
9
votes
2answers
5k views

In Mac OS X, how can I unzip a zip file without unzipping its contents?

I have a zip file that contains another type of archive (in this case, a jee app server WAR file, but this happens with other contained archive types as well). When I unzip the zip file, instead of ...
1
vote
1answer
916 views

I need an unzip command line tool for Windows, that supports redistribution

I'm building a small client app that downloads a specific .zip file form a website and needs to unzip the file. it would be easiest for me if i could have a command line unzip utility that supports ...
4
votes
3answers
1k views

Unzip file in bash where extracted folder name does not match zip file name

I have a shell script where I unzip a zip file and its contents will always be one folder. In my code I was assuming that the name of the zip file will be reflective of the folder name (e.g. folder ...
2
votes
2answers
2k views

Extract a zip file to your own directory

Im trying to extract the contents of a zip file but I want to extract it to my own directory. I'v tried -d from unzip but that just puts the contents of the zip into that directory. But I want to ...
1
vote
1answer
2k views

Trouple unzipping a 4GB .zip file on CentOS 5.5

I am in the process of moving from a windows to a linux box. I zipped a folder of images on the windows box and ftpd it to the linux box. When I try to unzip the file I get: error: Zip file too big ...
4
votes
3answers
306 views

How to pass a file that changes name to another command in Bash?

I frequently use wget to download tarballs and zip files from the web, then either untar then or gunzip them. I do: wget google.com/somefile.zip unzip somefile.zip rm somefile.zip Is there a way ...
0
votes
1answer
136 views

Unzip delete and unzip

I am having an issue with commad line unzip and am not sure how to correct this. I am unzipping a compressed file and it processes it correctly. If the zip file should have some files removed and it ...
0
votes
1answer
2k views

Unzip file with underscore in linux?

I'm trying to unzip a file in redhat but I keep getting this when I run unzip filename.zip heckdir error: cannot create file_name unable to process file_name/bin/. I'm guessing ...
3
votes
1answer
534 views

Using FileZilla to upload and unzip my web site via SSH

I'd like to upload and thenunzip my zipped web site on my web host service which manage SSH connections too using Filezilla. I wonder if is it possible to use only that application to do both ...
2
votes
2answers
875 views

unzip command line to sync destination folder

Is there a way to unzip a .zip to a folder and sync the contents of that folder with the contents of the .zip? I know you can do an -u(pdate) option that will update the folder with newer files, but ...
0
votes
3answers
1k views

Unzipping files using Shell Script

All, I have an app where user picks up a zipped folder which a shell script unzips and then renames for processing. The zipped folder will always have the following naming convention: ...
5
votes
3answers
535 views

Can a Zip File Become Damaged from Repeated Unzipping?

I use a mac and have a zip file that contains a base set of files that I use over and over. Every time I need the set of files for a new project, I simply unzip the zip file and they are ready for ...
0
votes
1answer
849 views

How to unzip files that contain .DS_Store from a different computer?

I'm trying to unzip folders that contain .DS_Store files from another computer and because of this, i cannot unzip the folders. I keep getting the error: Error - unable to expand into downloads ...
2
votes
1answer
1k views

Find out the name of a folder in a root directory inside .zip file

I'm using Fedora 17 and bash as my shell. I have a specific zip file, which has just one folder in it's root. I.e. upon unpacking the zip file i see the following: > unzip myzip.zip> ...
0
votes
1answer
4k views

Why is the unzip with WinRAR so slow?

Why is the unzip so slow, if the processor is not 100% busy, disk I/O is not saturated, and there is enough memory? I'm using Win7 x64, but this was just an example. (The package can be anything big ...
12
votes
2answers
21k views

how to specify the unzip target directory

Is there an option on linux zip command such that I can hard code the target directory it unzips into. For example, I would like to zip ./mydir files into myzipfile.zip but I want the unzip command to ...
1
vote
0answers
349 views

force unzip to also delete any missing files

Currently when I unzip into a directory with pre-existing files, I sometimes unzip an archive to update the files, using -f or -u or -o to overwrite any clashes. However I would like the unzip ...
1
vote
2answers
713 views

How can I determine if multiple .ZIP archives are encrypted/password protected?

Preferably lists what is and is not encrypted/password protected as a .txt I'm currently trying to figure out Unzip without much success. I just need to know if the .zip is password protected.
2
votes
3answers
3k views

unzip zip files that are contained in a zip file on windows

I have a zip file results.zip. It contains two folders that contain a bunch of zip files -- PASS/test1.zip, FAIL/test2.zip, FAIL/test3.zip. On linux it is trivial to unzip these in a couple of steps: ...
0
votes
2answers
911 views

How to zip and unzip files on mac OS without losing creation date and time?

On a Mac, When I zip and unzip files using finder or using zip/ditto from command line, I lose the creation date of the files/folders and the creation date is automatically set same as the ...