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

8
votes
4answers
14k views

add password to existing zip file with 7zip

Is it possible to add a password to an existing zipfile with 7zip without going to all the trouble of unpacking it and re-packing it again?
4
votes
4answers
3k 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
13 views

Report All Files Hierarchically on a Zip-of-Zip Files from the Command-Line Interface

I have a WinZip parent file that contains hundreds of WinZip child files on a Windows 7 64-bit computer. Each child WinZip file has many "grandchild" files within it. I need to create a text file ...
1
vote
2answers
334 views

Force all files in a NTFS compressed folder to automatically compress [Windows]

Is it possible to keep all the files within a NTFS-compressed folder compressed? For example, if I have a compressed a folder using NTFS compression, it will compress all the files inside the folder ...
1
vote
2answers
32 views

zip command on linux how to force to zip only files and not whole directories structure?

I want just stupid, simple thing. ZIP all the content of given directory. What I get as result of: zip -r /home/andi/MEDIA_DUMPS/xyz_media.zip /home/andi/xyz/mega_backend/mega_www/media Is ...
1
vote
2answers
2k views

How do I add files from a directory to a .zip-File using the 7zip command line?

I am using the 7zip command line to zip-up files. How can I add all files and subdirectorys from a folder to a zip file (.jar archive file)? I used: 7zip.exe a -t7z file.zip C:\folder Thank you.
0
votes
1answer
17 views

Running ZIP Process in Background in CentOS

How can I run the following command/process in background immediately after starting it: zip -r file.zip directory/* What I actually want to do, is to run the zip process working even after ...
6
votes
5answers
2k views

How can I test all zip files in a folder to verify if they are corrupted or not?

There was a utility a long time ago called CFAtest that was doing this quite nicely, but it has disappeared. Basically, I am looking for a similar tool (preferably graphical) that will traverse a ...
6
votes
6answers
16k views

Reduce .wav file size

I am required by a distance education language course to record some audio and submit it. However, they are being absolutely unreasonable. I am only allowed to attach a file that is 5mb while my ...
2
votes
2answers
2k views

Mac zip archives on windows

What is the best way to open zip archives which are made on a Mac? Frequently when I open a zip archive the date file are 0 bytes, while the mac_osx folder is filled with the correct data files. Its ...
9
votes
8answers
25k views

How do I reassemble a zip file that has been emailed in multiple parts?

I received 3 emails each containing part of a zip file. The extensions end in .z00, .z01 and .z02. (Emailed as such to get around the typical 10Mb attachment limit per email.) I have put all 3 files ...
0
votes
1answer
25 views

How to zip a list of files in Linux

I have many files I need to zip into a single directory. I don't want to zip all the files in the directory, but only ones matching a certain query. I did grep abc file-* > out.txt to make a ...
0
votes
0answers
14 views

Linux - recursively zip files into cbz files based on folder and move to a new directory preserving structure

I'm trying to figure out how to write a script to automate creating .cbz files from images in folders on LINUX. I have found this solution for OSX in Recursively zip files into .cbz-files based on ...
2
votes
4answers
135 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
25 views

archiving files without timestamp

I need to archive some files deterministically, so that I get the same archive file if the content of the files is the same. I need this for testing for equality of the archive files later. however, ...
1
vote
1answer
35 views

From the command line, how do I zip specific files and directories into one compressed folder?

I'm working in a directory that looks like this: folder >.git >css >img >js Archive.zip bla.html bla.yml During work on this project I very regularly have to zip up the ...
61
votes
8answers
55k views

Zip Linux - View files in archive

How can I view the files in a zip archive without decompressing it ?
1
vote
2answers
126 views

Decompress lrzip on Windows

I've happened upon lrzip as a compression tool, which compared to gzip, the compression was insane. lrzip compressed a 300MB text file to 7MB where as gzip only managed to get it to 100MB. I've ...
0
votes
1answer
7k views

Unzip error “End-of-central-directory signature not found”

I have a ZIP file that open in Windown/MS Word, (actually it is a .DOCX file). Opening it with LibreOffice / Mac produces: General Error. General input/output error. File says: ../Commission ...
0
votes
1answer
21 views

Delete a file inside multiple ZIP archives on the OS X command line

I'm trying to delete files with specific extensions from multiple zip archives. For example I want to delete all .html files contained in the zip archives in the current path so I have tried this: ...
0
votes
3answers
3k views

Installing setuptools for python 2.7.3 on SL6 returns an error that I don't have zlib. But I do

I have a machine running Scientific Linux 6 It comes with Python 2.6 by default I've also installed Python 2.7.3 because I need to run some modules which only work with newest versions. This is ...
1
vote
0answers
24 views

Zip settings. How to concatenate results from multiple zip files?

So I was one of those fools that didn't realize that Windows 8.1 has removed the windows 7 recovery option for restoring old backups. Now I have a backup set (A folder containing ~1500 zip files) ...
7
votes
5answers
3k views

Which archiving method is better for compressing text files on Linux?

In my application I need do compress of logs that are text files. Seems that bzip2 and gzip have the same compression ratio. Is that correct?
3
votes
3answers
2k views

zip: Argument list too long (80.000 files in overall)

I need to compress 80.000 files into multiple zip files. This is the command I use: zip -s 200M photos_test/* However I get the following error: -bash: /usr/bin/zip: Argument list too long What ...
2
votes
1answer
960 views

Create .zip's on OS X without the “extra” MacOS files (like .DS_Store, MACOSX folder, etc) [duplicate]

Possible Duplicate: Compressing folders on a mac, without the .DS_Store OS X includes undesired, "extra" files when creating .zip's of folders that look poor in Windows & Linux. How to ...
32
votes
9answers
5k views

How to uncompress a 9GB file in Windows FAT32

I have a 2GB RAR file that contains a 9GB video file. I'm using a FAT32 file system. Now I want to unzip that file but after 4GB I get an error due to the FAT32 file size limit. Now I want to know ...
1
vote
3answers
90 views

Can you get virus by clicking .zip file? [duplicate]

I tried to uncompress a zip file but I get error “The compressed (zip) folder is invalid or corrupted”. Is it possible to get virus just by trying to uncompress the zip? Can zip extension be ...
1
vote
2answers
2k views

Large zip files content is corrupted when unziped using windows explore

We have a large zip file (25GB) containing mosty pdfs and png files. (about 150000 files) When we unzip the file using windows explore some of the content is corrupted. Some png files shows content ...
1
vote
2answers
183 views

Can a zip file contain hidden files?

In Windows, a file can have an attribute marking it as hidden. In linux, a file's permissions can be set so that some users can not read/write the file (making it somewhat hidden to some users). Can ...
0
votes
0answers
42 views

Linux create zip file with custom directories in it

I'm new here. My task is to create a zip file from php code. I need to password protect it and the server runs php 5.5 and password protection is not supported there so I need to execute a command ...
9
votes
4answers
14k views

Best Secure Encryption for Zip Files via Linux

I want to use highly secure encryption for zipped files via Linux/Ubuntu using a command line terminal, what is the best command line tool to get this job done? zip -e -P PASSWORD file1 file2 file3 ...
7
votes
3answers
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 ...
0
votes
4answers
32k views

“The compressed (zip) folder is invalid or corrupted” error after downloading zip file - sometimes, but not always

I have a zip archive of ~250Mb located on an Apache HTTP server. Several users have complained of a "corrupt zip folder" after downloading the file directly from the website (albeit the site is built ...
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 ...
2
votes
4answers
2k views

DVD/CD burning .zip: is it more reliable, faster, longer lasting to burn a zip of files rather than the files as a folder?

Is it more reliable, faster, longer lasting to burn to CD/DVD a zip (or a few large zips) of files rather than the files as a folder? Just thinking if 1000s of small files would not be as efficiently ...
0
votes
1answer
357 views

Update a file inside zip with -u

Alright so i have a zip file called data.zip on my desktop. Inside test.zip is another folder called res and inside res is a file called info.txt I have used the zip -u command before to move a file ...
15
votes
5answers
12k 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 ...
16
votes
4answers
16k views

terminal tool (linux) for repair corrupted zip files

I've a corrupt zip file. I've tried to repair it with zip -F file.zip and zip -FF file.zip but was not successful. Is there another terminal tool under Linux for repairing?
2
votes
2answers
409 views

7 zip archiving directory recursively

I zipped my old windows dir with 7 zip. It zipped the "Application Data" many time (hundreds) as shown here : C:\Windows.old\Application Data\Application Data\Application Data\Application ...
2
votes
0answers
20 views

Splitting a zip archive

I have a zip archive containing a big directory tree with many files. I'm using an application that does something with zip archives. The problem is that the application has a limitation on how many ...
0
votes
2answers
351 views

How to restore the ZIP icon on a file? [duplicate]

Possible Duplicate: How to restore Windows default Zip file functionality? I downloaded a game which was at first in a ZIP file. I don't know how but now every time I click it, it opens in ...
0
votes
1answer
21 views

Can i save modification in compressed file folder? [duplicate]

When modifying documents that are directly opened from compressed file folders like RAR or Zip, I normally close them without dragging the files out of the rar or zip file. I used to do this in the ...
1
vote
1answer
343 views

File was deleted and then reappeared when folder was zipped

I am using Backtrack 4 Final, which is a Linux distro that is Ubuntu based. I had a directory that contained around 5 files. I deleted one of the files, which sent it to the trash. I then zipped the ...
21
votes
7answers
37k views

Which is more efficient - tar or zip compression? What is the difference between tar and zip?

I'm working in Linux environment and want to know about tar and zip commands. Which is more efficient - tar or zip? I also need to know the differences between the tar and zip commands. Can anyone ...
11
votes
4answers
26k views

Zipping folders and their contents into a .zip file in Linux

How do I make a .zip file that contains every file AND every folder in the directory?
0
votes
0answers
4 views

Determining Command ran by SEZ

I have a Self-Extracting-Zip which unzips and installs the software contained within, which in this case is a customised version of SQLXpress. I want to get this software to install silently, so I ...
0
votes
1answer
2k views

Full path while zipping?

I have the following files: ~/Dir1/file1.txt ~/Dir2/file2.txt Then I use the following command: cd ~ zip out.zip /Dir1/file1.txt /Dir2/file2.txt In the out.zip i can see two directories (dir1 ...
0
votes
0answers
35 views

How can I use the windows GUI to do the equivalent of linux touch on multiple files?

This is very similar to this question: Windows equivalent of the Linux command 'touch'? The difference is, I'd like to set the date modified to "now" from the GUI. The above question may ...
4
votes
3answers
4k views

How can I create a .zip file for each folder within another folder?

Under the folder images\, I have the following folders: Usa\ Italy\ Japan\ etc.. I want a script that creates a .zip for each of these folders, so I have usa.zip , italy.zip, japan.zip. How can ...
1
vote
1answer
110 views

zip file (with spaces in the files name) to unzip and rename files and zip back

I'm trying to rename the contents of a zip file to match the name of the zip file with a batch file. This is exactly what I'm trying to do : ...