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
23 views

Zip images in directory

I have a directory of directories. Each directory contains ~100 images. I want to create a zip for each directory. How can I do that?
3
votes
3answers
305 views

Display deflation percentage of tar command (like zip command)

This question may sound weird but I would like to know if there is a possibility to display the deflation percentage of the files processed in the tar command. I use this command tar -cjvf ...
0
votes
1answer
219 views

How to create ZIPs with the content of every folder [duplicate]

I have several folders and I need to compress the content of each folder in a separate ZIP file. However, every ZIP should only contain the content of each folder and not the folder itself. The ...
0
votes
0answers
20 views

How to distribute files to different users that install on the correct drive?

I would like to distribute a model that requires files to be installed in a specific location for it to work. The user group is diverse, and I do not want the opportunity of failing to install the ...
0
votes
1answer
420 views

How to recursively zip utf-8 files and folders from a batch file?

I have a folder named "Attachments2". I'm working in windows 7 and am using zip.exe downloaded from cygwin to zip this folder. In this folder there are folders and files which have Hebrew characters ...
0
votes
2answers
128 views

How to create a zip file of all PDF files in different subfolders?

My directory structure is as follows: application ├── CV │   └── CV.pdf ├── Cover_letter │   └── Cover_letter.pdf ├── Transcripts │   ├── BSC.pdf │   └── MSC.pdf └── references ├── ref1.pdf ...
1
vote
0answers
128 views

How can I create a self-extracting executable from the windows command line that accepts the default install directory as a parameter?

I have tried several different methods including winzip command line and 7zip, but I cannot find a method that will let me create a self-extracting executable that will extract to a specific directory ...
1
vote
3answers
3k views

Batch file to ZIP only files in directory or sub directory

I wanted to know if possible how to create a command line to do the following - if a directory exist ZIP only the contents into a ZIP file. If a directory has sub-directories ZIP only the contents ...
0
votes
3answers
95 views

Listing files, including archive contents

Is there some method to find, from the shell, all files matching a file pattern including those inside archives (specifically: zip archives)? The simulation package "VASP" produces files called ...
4
votes
3answers
2k views

Recursively unzip files where they reside, then delete the archives

I goofed up a setting on the backup software I use. Normally I would have the files from a network share get loaded into a spare drive, compressed into zip folders, then sent off to the offsite hub. ...
0
votes
1answer
205 views

Unable to execute program from installer

I created an application (exe file) and in order to deploy it I am using two ways: Using zip file: I zipped the entire contents including executable. This method works and the end user is ...
1
vote
2answers
878 views

Check if zip file is damaged [duplicate]

How can I check whether a zip file is damaged? I know that with zip -F input.zip --out output.zip I can fix the file. But I could not find an option that only checks the file CRC. I'm using Ubuntu ...
3
votes
2answers
3k 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
votes
0answers
52 views

php zip two directories and retain their directories for restore [closed]

I want to create a backup script that gets all the contents of two specific directories, and retains their structure. So for example I have one directory /images/ and another one ...
1
vote
1answer
215 views

Remove __MACOSX directory in zip files by using shell

I want to remove __MACOSX directory in zip files that are made by Mac. With zip foo.zip -qd "__MACOSX/*" works well. Then I wrote like following. for file in "*.zip"; do zip $file -qd "__MACOSX/*"; ...
2
votes
2answers
623 views

Powershell Script to Find & Highlight Specific Files Based on Creation Date

I am trying to write a Powershell Script that checks a certain folder for .zip files. The .zip files contain information from certain backups. These .zip files lie within a folder tree for different ...
2
votes
2answers
364 views

Create zip files that with given size

My question is same as in Create multiple zip files that are not dependent on each other? but my idea is to add files to zip until it is of required size and continue with a new zip file for others ...
0
votes
2answers
425 views

How to recursively zip every file in each folder?

I am trying to write a batch script that when run into a folder, it takes all the files in this folder and zip them into one, then takes the remaining folders and looks into them and do the same, ...
1
vote
0answers
72 views

copy /b command size limit issue

I am using copy /b command to append two diff files in one file. This command does not work if the first file is of size larger than 1 GB. I have not found any references or help online. I am using ...
0
votes
4answers
245 views

unzip file on small drive

I have a zip file that contains many files. Each file in the zip file is about 100MB, and is compressed about 10% (IE it is about 90MB in the zip file). The whole zip file is 20GB, and I'm trying to ...
0
votes
2answers
258 views

TAR or ZIP current directory excluding the generated file

I am trying to zip or tar all the files and subdirectories in current directory and save it to the file I am zipping. The problem is that -x shitch does not work - files are being zipped and saved to ...
1
vote
0answers
120 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 ...
0
votes
1answer
1k views

Tool to disable Zip folders in Windows 7 File Explorer

Is there a tool or simple setting to disable Windows 7 Explorer from opening zip folders? There is a registry hack given in How to stop windows from opening Zip folders in the explorer view? but I ...
1
vote
0answers
13 views

Undo a file association [duplicate]

This is probably one of the stupidest things I've ever done and won't be doing again. Basically, I figured since .jar files are effectively .zip files and normally you can use explorer.exe to open ...
1
vote
2answers
97 views

How to extract such a compressed file?

I have been asked to extract a ZIP file having in it 3 tar files and each tar file contains around 3000 gz files. I had to extract the main ZIP file first then extract the tar files second then ...
1
vote
0answers
76 views

Extract all, but not to a new folder

In windows 8, there is a nice feature that allows me to extract zip archives easily. The problem is that it always save the file to a newly created folder of the same name. While I can manually ...
0
votes
2answers
258 views

How can I get my Mac to recognize a downloaded Joomla extension as a ZIP file instead of a folder?

When I download a Joomla extension to my Mac (e.g. http://www.admiror-design-studio.com/admiror-joomla-extensions/admiror-gallery) I can't upload it via the Package File option because my Mac sees the ...
0
votes
1answer
91 views

Substitute for zip command or way to zip files

I want to zip files using the zip command, but my terminal says -bash: zip: command not found Is there a way to get the zip command, or maybe use another command instead?
0
votes
1answer
195 views

Differences between DMG and various Zip-like formats?

For my everyday work, I have a few DMG files that I keep on cloud storage. At the beginning of the day, I download my DMGs, convert them from Compressed to Read/Write using Disk Utility (OSX). At ...
2
votes
2answers
3k views

Unzipping file whilst getting correct permissions?

I unzipped a file on my server using: unzip filename However this seems to have caused all the files having owner/group permissions of 0 0. I files I uploaded was a PHP software script, so ...
1
vote
1answer
859 views

How could I portably split large backup files over multiple discs?

Context: I make backups / archives, primarily of photos. I'm experimenting with Bup, which is designed for backup to hard disk. Basically it creates Git repos which include packfiles of up to 1GB. ...
0
votes
2answers
1k views

Zip many files into several archives

Running Linux. I have a directory of around 150 large CSV files; simply doing a zip -9 on them results in a monolithic file that is still too large. I would like it to simply zip them in maybe four or ...
2
votes
1answer
251 views

filter thunderbird email by attachment type

I'm getting malware sent to me as .zip attachments that are zipped up exe files. I want to setup message filters to catch them but I can't seem to find a way to do that. I tried setting up a customize ...
1
vote
1answer
1k views

Unzip file from source to destination within user directory across multiple versions of windows

I have a source zip file which is located in a user's "My Documents" directory. It is guaranteed to always be there. I'm looking for a way to create a batch or script which will let me unzip that file ...
12
votes
1answer
6k views

Remove single file from zip archive on Linux

I have a zip archive (created automatically in a script with -j -r flags) and I would like to remove a single file from it. I tried as documented. zip -d "picture_43_9.jpg" gallery.zip but I get ...
0
votes
1answer
147 views

Cron Job in Linux

I am newbie just have a doubt, I have a Outerl.sh to be executed on every zip file arrival in FTP and get the *.sh file inside the zip file and execute that (.sh) file which present inside the zip ...
1
vote
2answers
378 views

How to make index of all files in directory, including subdirectiories and contents of ZIP files?

I need to make list of all files and folders in directory and its subdirectories, including contents of ZIP files. Is there any program that can create nice list of contents?
0
votes
1answer
364 views

Is it possible to recursively list zip file contents with 7 zip without extracting

Similar to this question I have a very large zip file which contains other zip files, folders, and files. I want to use 7-zip to extract a list of file names from it, recursing into subfolders and zip ...
1
vote
2answers
3k views

Compressed (Zipped) Folders no longer extract properly

I actually just finished up cleaning a virus from my computer (took me in total like 20 minutes, no big deal), but I'm almost sure this is what caused the problem. Now, whenever I download a zipfile I ...
0
votes
5answers
689 views

Automatically extracting text files via commandline and combining them into a single text file

In-Depth Explanation of Problem: I'm trying to automate a process on my computer and having some difficulty. Each day, I'm emailed a zip file that contains a txt file. I have a script in place that ...
-1
votes
1answer
28 views

How to perform zipped mirroring on Windows?

My source is a directory hierarchy. I need to auto-copy the files in the source to a destination directory, but to have each file individually zipped inside the destination sub-directories. ...
1
vote
3answers
672 views

powershell create zip from log files

How can I move log files to zip archives with System.IO.Compression.FileSystem in PowerShell? I have more folders with log files per application: app1logfolder |-app1_20130507.log ...
0
votes
3answers
103 views

How to tar/zip a parent directory exculding a child direcory

I want tar a direcory which contains a number of child directories. But here my requirement is to tar the entire parent direcory excuding one child directory. Is there any command or procedure for ...
0
votes
0answers
245 views

Extracting the raw data of a multi-part zip file as-is (without all the parts)

I have a 12 multi-part compressed archive of 5 files. Meaning originally there were 5 files, they were put into an archive of 12 parts. Of the 5 files, 3 are binary, 2 are text. Is it possible to ...
1
vote
0answers
52 views

virtual filesystems appear to be limited on win32 build of Midnight Commander

I installed Midnight Commander 4.8.7 on my windows machine at work. 2 of the features that I would love to use are the virtual filesystems for zip files and ssh. But the only virtual filesystem that ...
4
votes
1answer
1k views

how to “preserve internal directory structure” when unzipping on windows?

I'm tring to build boost, in instructions I've read When you extract the library from its zip file, you must preserve its internal directory structure (for example by using the -d option when ...
1
vote
0answers
1k views

“extra bytes at beginning or within zipfile,” won't open file

I have an 8.3 gig zip containing tons of telescope observation data, but I can't extract no matter what I try. I've tried Archive Manager, unzip, and tried this guy's fix: ...
2
votes
2answers
282 views

Exclude files in a for loop

I want to delete the /lib directory inside apk files. I managed to do this with: for DIR in ~/ABC ~/ABD do cd $DIR for APK in * do if test -f "$APK" then zip -d $APK ...
1
vote
1answer
458 views

Comparing zip files

We need to compare the contents in each of 2 .zip files we have. Each .zip file has of different file extensions. Each .zip file also contains another .zip file and a couple of subdirectories. We ...
5
votes
3answers
366 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 ...