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
1answer
88 views

Unable to extract .zip file of Win8 theme

I downloaded some themes for Windows 8. But when I try to open it, I failed to open the .zip file. Even I was unable to extract the contents. While tried to extract, it was showing error like : The ...
3
votes
1answer
118 views

Is there a way to compress files at different compression levels inside a single 7zip file? [duplicate]

Some files are compressed using their own compression scheme and some aren't. If I try Max compression on an already compressed file, I'll get 1%-2% better compression at most. The amount of time ...
2
votes
1answer
330 views

Remove sub directories / sub folder from zip + rar files

I have a bunch of .zip and .rar files. Many of these files contain subfolders in the archive. I want to remove all the folders from the zip files but keep the other content. e.g. original.zip - ...
3
votes
1answer
2k views

Can I disable this Windows (XP) Security Warning?

I recently reformatted my hard drive and reinstalled Windows XP (I know I'll have to take the plunge and commit to Win8 "real soon, now", but I'm just not quite ready for the upheaval yet! :) I used ...
0
votes
0answers
19 views

Command line to extract WinRar .rar to auto-named folder [duplicate]

I am working on streamlining a lot of the processes that I have to do associated with my work (web developer). I am downloading a lot of .zip and .rar files at the moment, and I'd like to create a ...
0
votes
1answer
271 views

Filename encoding broken after unzip on windows

I zipped a directory on my linux server. Many files in the directory have german umlauts in their filename. The filesystem is ext3 and the system locale is set to de_DE.utf8. I used the following ...
0
votes
1answer
39 views

Adding the date/time (DD/MM/YY HH:MM) information dynamically at the end of ZIP file

I want to add the current date/time (DD/MM/YY HH:MM) information dynamically at the end of ZIP file when backing daily via IBM cognos export. Then How can I export CSV formatted them using script? ...
1
vote
1answer
151 views

Is it possible to write an app that ignores the zip archive password?

I am not sure how password protected archives work but is it the programs enforcing the protection or is it the way the format works where if it's password protected, there is no way to extract the ...
0
votes
1answer
941 views

how can I search for a string in a folder that has zip files also

I am trying to search a string in a folder "test". This folder has sub folders and zip files too. I want to search within this directory to find the match. I used zgrep '11:57' test zgrep '11:57' ...
0
votes
1answer
86 views

How to zip a file to a certain directory

I've googled this issue and I can't find anything. I'm trying to zip the contents of my htdocs, and so far it's great, but the zipped file always saves in /home, which over times gets annoying. $ ...
1
vote
0answers
312 views

How to open a multiple file spanned zip file using only windows standard tools?

I have a large file that I want to send via email. To get round size limits I can use 7-zip to create a multiple file zip archive and then send the files one per email. Putting this back together ...
0
votes
1answer
320 views

zip sub folders individually

can anyone help me make a batch file for my problem. i have multiple folders that i want to compress individually. root folder 1 file 1 file 2 ...
0
votes
1answer
41 views

syntax to archiving individual folders

can somebody tweak/edit this batch command so that it will go to the root directory of each folder before it archive it. for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\" ...
0
votes
1answer
123 views

linux zip command creating temp name

I am creating a python script which will move the fresh zipped files to a hotfolder. But when i am creating a zip file with zip test.zip /opt/test it creates a temp file first, something like xAbCG77, ...
2
votes
4answers
145 views

What other archive formats save Date Created and Date Accessed?

7-Zip on Windows will save the Date Created and Date Accessed when compressing a .zip file, however it does not do this for its (referring to 7-Zip) native .7z format. Any Unix-based formats are ...
0
votes
1answer
87 views

Can I mount a (zip) archive in cygwin?

I do not see any example in http://www.cygwin.com/cygwin-ug-net/using.html#mount-table =
-2
votes
1answer
139 views

Read the contents of a zipped file without extraction just 1 level?

unzip options -t and -l lists entire zip, even sub directories. Is there an option of unzip to read contents just 1 level ? It should list immediate contents of zip. It should not list contents of ...
2
votes
2answers
335 views

Recursively zip files into .cbz-files based on folder in command line

I'm trying to figure out how to write a script to automate creating .cbz files from images in folders on OSX. My directory tree will look like this: /toplevel/ cbz/ comics/ Comic1/ ...
0
votes
0answers
128 views

How to extract multiple zip files with possible duplicate file names in a single folder

I have a list of many zip files(with duplicate names) that need to be downloaded(maybe by wget) each of them contain a single file , I need to extract all of them into a single directory , but due to ...
9
votes
4answers
5k views

Is there a way to edit files inside of a zip file without explicitly extracting them first?

I sometimes need to make changes to a .zip or .jar file, so I usually move the file to /tmp, extract all the files with unzip, edit a few files, and then re-zip up the files. This works, but it can ...
0
votes
1answer
234 views

Fixing truncated *zip with Terminal, keep getting stuck

I have a *zip containing a lot of pictures from the past year, and it compressed incorrectly and is missing its end statement. I've been using "zip -FF" in Terminal, but it keeps getting stuck on a ...
2
votes
1answer
913 views

How to compress only files without their parent directory?

I'm trying to compress files in a directory. Let's assume the directory is "test". when I execute the following command and unzip the file, I get "test" folder and files inside the test folder. zip ...
1
vote
1answer
250 views

Search for two strings within zip archives

Hope someone can help. I have a series of zip files. These zip files contain email files (.eml) I need to find all files between two people. I can find on of them easily using an answer I found in ...
0
votes
2answers
703 views

Zipping Epub: Mimetype file should contain only the string “application/epub+zip”

I followed this tutorial to create an epub file. The mimetype file only contains application/epub+zip and should not be compressed. However, the zip commands that were recommended to achieve the ...
1
vote
4answers
200 views

Does archive size of tar, zip and rar effect the time it takes to delete a file from it?

Does it take a longer time to delete files from a large tar zip and rar archive than a smaller one? I would think that for a file to be deleted from an archive, all the data that exists after the ...
0
votes
0answers
78 views

Empty .zip file at end of Windows Backup & Restore backup

I have a Windows 7 or Vista computer that was backed up onto an external drive (WD Passport) using Windows Backup & Restore every week for almost a year. Now I am viewing these files on a Windows ...
2
votes
0answers
67 views

Cross-platform owernship of files in a .zip folder

I have a PHP app that creates a .zip folder out of files that are restricted to specific groups using ACL, then submits it to the user to download. Specifically, everyone is allowed to read them, but ...
1
vote
1answer
24 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
389 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
285 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
1answer
570 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
148 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
155 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
5k 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
123 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
4answers
4k 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
246 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
2k 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 ...
4
votes
2answers
6k 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
57 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
358 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
735 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
501 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
504 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
93 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
293 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
348 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
175 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
14 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 ...