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
2answers
275 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
129 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
100 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 ...
0
votes
2answers
281 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 ...
1
vote
0answers
79 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
1answer
114 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?
4
votes
3answers
4k views

shell scripting - How to zip contents inside a folder without the folder itself?

I use this current command that archives the folder "folder-root" and all it's content to a file named "site.zip": zip -r site.zip folder-root/* Problem is - I want to zip the contents of the ...
0
votes
1answer
212 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 ...
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 ...
1
vote
1answer
2k 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 ...
2
votes
2answers
2k views

How do I configure Google Chrome to open zip files in file-roller instead of Nautilus?

When I download a .zip file using Google Chrome on Linux, upon clicking it the .zip file opens my Downloads folder in Nautilus, not the .zip file in file-roller. Ironically, Google is mum on the ...
0
votes
1answer
157 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 ...
0
votes
1answer
370 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
3answers
716 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
5answers
714 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. ...
0
votes
3answers
104 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
4answers
3k views

How can I bulk rename files in a RAR or ZIP archive on the mac?

I have a set of archive files -- both zip and rar formats -- inside of which I need to rename some files. Specifically, I want to do something like this: for each archive file in a directory for ...
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 ...
0
votes
0answers
271 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
53 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 ...
25
votes
4answers
18k views

Can you configure Windows to open JAR files like ZIP files without a 3rd party tool?

I'd like to be able to examine the contents of a JAR file without having to install Winzip or some other tool and without having to rename the file. Windows Explorer can open ZIP files just fine; is ...
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: ...
3
votes
2answers
12k 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 ) ...
2
votes
2answers
294 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
519 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
379 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 ...
2
votes
3answers
285 views

osx: selectively zip large number of files: -@ option OK?

I need to make a zip file archiving ~100k files from a directory containing ~500k files. I get "argument list too long" errors when I try the obvious commands: zip archive.zip *pattern*.txt ...
1
vote
2answers
72 views

unix command zip everything except file ending with _fpartxx

I was wondering, if I have a folder structure like this: /var/www/testing/file1.iso_fpart0 /var/www/testing/file1.iso_fpart1 /var/www/testing/file1.iso_fpart2 /var/www/testing/file1.iso ...
1
vote
2answers
1k views

How can I encrypt a read-only adobe acrobat file?

My brokerage kindly decided to mark my account statement as read-only for my benefit. But, now when I open the statement in Acrobat Pro X in Windows 7, the Encrypt option is grayed out. How can I make ...
1
vote
3answers
404 views

What is the equivalent unix command to a Mac OSX “Compress” menu action?

When I right-click a file in Mac OSX and select "Compress 'File Name'", what is the equivalent bash or terminal command to get the same result? Is it just gzip -9 /path/to/filename?
3
votes
2answers
2k views

Equivalent to tar's “--strip-components=1” in unzip?

I have a script that extracts a tar.gz-file to a speificed subdirectory mysubfolder: mkdir mysubfolder; tar --extract --file=sourcefile.tar.gz --strip-components=1 --directory=mysubfolder; Is there ...
1
vote
1answer
166 views

How to extract a set of zip files from a zip file

Is there a command to extract a set of zip files within another zip file and not extracting all of it ? eg: A.zip has (B.zip, C.zip, c_directory, d.txt) How can extract B.zip and C.zip without ...
0
votes
1answer
3k views

What is the difference between .rar and .zip? [duplicate]

To me it seems that these two file types works exact the same way. Why would people use .rar files (especially for illegal downloads) when .zip is so much more easier to handle? You don't need ...
7
votes
2answers
6k views

How can i recover a zip password using CUDA (GPU)?

How can i recover a zip password on linux using CUDA (GPU). For the past two days i tried using "fcrackzip" but it's too slow Few months back i saw some application that can use GPU / CUDA and get ...
0
votes
2answers
505 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 ...
3
votes
2answers
1k views

powershell cmd script of out-zip.ps1

i have found this powershell script online and i would like to run this from a batchfile. Can anyone give me the correct syntax for this script. And if possible make it possible to input multiple ...
5
votes
3answers
5k views

Tool to mount a zip/rar/* archive as a Win drive and be able to read/write as a normal device?

I'm looking for some tool that, given a zip/rar/tar/* archive file, mounts it as a new Windows drive. Some tools are WinMount or WinArchive, but I need one that allows me to write/create/delete files ...
2
votes
1answer
914 views

Remove known password from zip archive without extracting

is it possible to remove a known password from a ZIP archive without extracting the actual archive? I have some heavily compressed archives and want to avoid having to extract and rezip each of those ...
0
votes
1answer
965 views

Split a folder of files into multiple zip files based on size or # of files

My problem is that the file uploader I'm working with will only allow a zip file with a size of 10mb or less. Unfortunately, I have thousands of files that need to be processed and I do this by ...
2
votes
2answers
2k views

How to zip multiple folders in 7zip?

I have a folder, lets say, MAIN. Inside this folder, there are many folders(say f1,f2,f2...) which has subfolders and files in them. Now I need to zip these folders(f1,f2,f3...) and their contents ...
0
votes
2answers
1k views

Why does Windows Media Center try to open zip files?

Notes: OS is windows 7, browser is latest firefox. After saving a zip file to the desktop, Windows Media Center opens up. I looked around its config settings but could not find anything related to ...
1
vote
3answers
911 views

How to optimize ZIP files for size?

I have a ZIP file (created by Info-ZIP on Linux) and I want to make it as small as possible. I have lots of CPU time to burn on the recompression. I already know advzip, and it managed to reduce the ...
2
votes
1answer
270 views

How would Apache or Compressed HTTP react to a zip bomb?

inspired by Compress a 1GB file into 200_MB? and the related comments: Many webservers today use a zipped HTTP Version (Gzip afaik). How would Apache or any other server react to a zip bomb? Since ...
51
votes
5answers
2k views

How to “unextract” a zip file?

I extracted a zip file into a non-empty folder. The zip file has lots of files and a deep hierarchy, that merged with the existing tree of the target directory. How can I remove the files and ...
0
votes
1answer
412 views

Windows 7 extract and compress zip has been compromised by NCH's Express Zip program. How to fix?

I installed NCH's Express Zip, and now I can no longer use Windows 7's way of extracting and compressing. I would like to get rid of the NCH program and get back the original functionality of windows ...
15
votes
4answers
26k views

How to make 7-Zip faster

I normally use WinRAR over 7-Zip simply because it's faster and only a little less efficient with compression. I did a few tests on different filetypes and sizes comparing the 7-Zip and WinRAR default ...