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
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
857 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. ...
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 ...
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
146 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
363 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 ...
1
vote
3answers
662 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
684 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
1answer
481 views

Windows folder has readonly attribute that cannot be removed

I have a zip file containing Eclipse workspace. When I unzip it all the extracted folders have read only attribute set to true. When I uncheck "read only" in properties dialog and click apply the ...
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
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
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 ...
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: ...
2
votes
2answers
11k 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
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
450 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
365 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
265 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
70 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 ...
0
votes
3answers
378 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
161 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
2k 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
473 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
4k 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
882 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 ...
20
votes
5answers
12k views

On Linux/Unix, does .tar.gz versus .zip matter?

Cross-platform programs are sometimes distributed as .tar.gz for the Unix version and .zip for the Windows version. This makes sense when the contents of each must be different. If, however, the ...
0
votes
1answer
890 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 ...
0
votes
1answer
428 views

How do I zip a folder with 7-zip but not subfolders of that folder?

For instance, if I wanted to zip everything in My Documents, but not subfolders in My Documents, and I also did not know the name of each subfolder.
1
vote
3answers
890 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
250 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
395 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
25k 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 ...
1
vote
2answers
1k views

Windows 7 Explorer Preview Pane for zip files

I was wondering if there is a possibility to add .zip file to the explorer preview pane (Windows 7 64 Bit). For example if a folder contains a .zip file i would like to see the content of the .zip ...
1
vote
3answers
73 views

A better way to extract lots of files from zip archive in bash

I have a zip archive with lots of files and a plaintext file with list of files (~10000 items), that I need to extract from that archive using bash. What is the best way to perform that operation? ...
6
votes
2answers
4k 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 ...
2
votes
2answers
2k views

Setting WinRAR to exclude files with the exact filename I specify from being extracted from an archive

How can I configure WinRAR to exclude files with the exact filenames: thumbs.db or .DS_Store (ignoring case) from being extracted from an archive (all directory levels within an archive)? Files with ...
1
vote
1answer
191 views

jzip installed chrome opening www.searchnu.com/102

I am in pain trying to figure out how to remove www.searchnu.com/102 from chrome after installing jzip on my windows 7. How can I do that? Is this a virus? I ran a scan and it didn't return anything