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

5
votes
4answers
3k 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 ...
1
vote
1answer
139 views

Fix corrupted Unicode file names in a zip archive

A colleague gave me a zip archive of some data I need to analyse, but unfortunately the filenames have been corrupted somewhere along the way, either when creating the archive or when extracting them ...
0
votes
0answers
18 views

If someone creates a zip folder on the server noone else can open it

In out network if someone creates a zip folder then noone but the administrator or that user can open it. I have added "Everyone" to the security tab of that folder with "Full control" with no ...
62
votes
2answers
23k views

What is __MACOSX folder?

What are these __MACOSX folders I keep seeing in zip files made by people on OSX? Some take as much as 30% of the file. What program are producing these __MACOSX folder and how can mac users avoid ...
0
votes
1answer
44 views

Extract specific folder from a tar.gz

I know this question was previously asked on this site before like here 1 and here 2 but no success for me. I want to extract the Measures folder from my S012011_csv.tar.gz zipped file. If I do tar ...
9
votes
4answers
30k views

What are the best options to use when compressing files using 7 Zip?

I often have to gather log files and upload them to a central server (Owned by another company). The central server has a size limit of the file, so I am trying to create the smallest file possible ...
0
votes
0answers
40 views

Windows 7 ZIP folders not extracting

I am helping a client who has a problem with Windows zip folders. For any zip folder, he can open the folder and see the contents, but if he does a copy and paste to a different location nothing ...
4
votes
2answers
8k views

Is there a simple, automated way to convert a large number of files between ZIP and RAR formats?

I have about 500 RAR archive files and 300 ZIP files that I want to burn to a DVD and give to someone else. I would like these 800 different archives to be in the same file format, so either 800 ZIP ...
1
vote
2answers
5k views

Opening a password protected zip file in Windows XP

My friend wants to send me an encrypted zip file that he created using $ zip -e file.zip file2.zip Will I be able to open that with the native Windows XP pk zip implementation?
0
votes
1answer
34 views

Move data with compression

I'm using win 7.I have disk ~2Tb which one I want to format so I need to move data from it to other disk, but the problem is that I have not another 2Tb disk and I think I can compress data(on the ...
3
votes
6answers
2k views

Zip files without compression

I'd like to bundle a number of big files into a single file, to make them easier to share. The files are already compressed (eg. jpeg, video etc), so I don't need compression, only archiving. How can ...
16
votes
7answers
13k views

How can I create a zip / tgz in Linux such that Windows has proper filenames?

Currently, tar -zcf arch.tgz files/* encodes filenames in UTF, so Windows users see all characters spoiled in filenames which are not english, and can do nothing with it. zip -qq -r arch.zip files/* ...
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 ...
2
votes
1answer
126 views

Zip files and Volume Shadow Copy

I back a lot of data up using WinRAR and I create a .rar file from these backups. Since I back up about 20GB of data at a time this process takes some time. Sometimes I need to open a few of the ...
2
votes
4answers
9k views

How to extract ZIP from self-extracting exe?

Well, the subject says it all. I have an exe that is an SFX, and I want to extract the ZIP from the SFX. How can I do that?
0
votes
1answer
88 views

Command line - Some questions

I've created a batch file for zipping selected items in a folder. (The file is placed in 'Send to'). If I use the following code: for %%* in (.) do set CurrentFolder=%%~n* "C:\Program ...
4
votes
3answers
2k views

Is it feasible to crack ZIP passwords?

I have a piece of software I have to install on company laptops. The installer needs a serial to work properly, but I don't have it (my manager isn't here so I can't ask him). The installer tells me ...
1
vote
0answers
94 views

repeat command until process start or timeout unix

Is there anyway to check the number of file in a directory, if the number of files is correct, say 5 files, zip the files with zip -r total.zip. If the number of files is wrong, wait 3 seconds, and ...
11
votes
3answers
29k views

Does Windows 7 have unzip at the command line installed by default?

There is a zip/unzip option in the context menu so is it accessible from the command line?
0
votes
0answers
28 views

Add to archive “FileName.xpi”

I use WinRar. In Options > Settings > Integration > User defined archive extensions, I've associated XPI and JA files with the program. I would like to add the following entries to Windows ...
5
votes
5answers
12k 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 ...
7
votes
4answers
4k views

How to open corrupted ZIP files?

How can I open (or repair) corrupted ZIP files on Windows? Is there a way to force 7-Zip to open them?
2
votes
2answers
624 views

Create multiple zip files that are not dependent on each other?

I want to compress a folder into multiple zip files of 50MB each but don't want them to be dependent on each other. When I use Winzip and use the split feature it creates one zip file and the others ...
0
votes
1answer
25 views

Browse archived website

I have html/webpage files stored in a folder locally on my machine. I can view this content just fine using any browser. However, long term, I would prefer to have the contents stored inside of some ...
3
votes
3answers
2k views

unzip how to trim top directories

I have a zip archive. The unzip -l myarchive.zip command gives this listing: top/subtop/files/1.txt top/subtop/files2/2.txt etc The root folders are top/subtop for all files. How to extract those ...
0
votes
1answer
3k 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 ...
1
vote
1answer
240 views

Creating a zip file with a timestamp

I have been trying to create a script which compresses a directory with a timestamp and move it to another location on the same server, but I cant seem to get TESTDATE to display on the zip file, ...
7
votes
6answers
12k views

How can I achieve the best, standard ZIP compression?

I don't care how long it takes to compress, all I want to achieve is two things: The absolute best possible compression ratio Compatibility with standard readers, such as Windows and WinZip So ...
0
votes
1answer
200 views

How to add “extract here” or “p7zip” menu item? (Gnome3, Nemo)

I'm using Fedora 20 with Gnome3 and Nemo. I installed p7zip but I don't see a p7zip or "extract here" item when right-clicking on a .zip What can I do?
0
votes
0answers
23 views

While compressing the folder many other zip files creating during the process

I seen a strange thing never seen before while compressing the folder into the zip. When I start zipping my folder there are many zip files showing automatically during the process. Like say the ...
1
vote
2answers
22 views

ZSH browse content of zip file

Is there any way or plugin for zsh where I can browse content of zip files in place instead of unzipping zip file and than making zip again? I want to achieve same behavior as in Midnight Commander ...
1
vote
1answer
84 views

How do i unzip files from a nested folder?

Say i have the following .zip file: ZipFile.zip /zipfolder/ this.file that.file theother.file When i try: unzip ~/path/to/my/ZipFile.zip -d ~/path/to/my/destination/ ...
1
vote
1answer
63 views

What are the default programs to open docx, PDF and ZIP files on OS X?

I'm writing an article about DOCX, PDF and ZIP extensions. But first, I need to know the programs which are used to open these extension as default (without any third-party applications). I don't ...
0
votes
1answer
102 views

Using command-line to pack files individually into .zip format while keeping directory structure

I'm trying to create a cmd script that recursively traverses a directory and zip each file individually. This I have done here: for /R %%b IN (*.*) do ( "C:\Program Files\WinRAR\WinRAR.exe" a ...
0
votes
1answer
79 views

Unix zip: zip multiple folders in to one zip file without creating a top containing folder

I have a folder like this: -resources --graphics --sounds I want to zip graphics and sounds folder into a .zip file named resources.zip, which I will use zip -r resources.zip graphics/ sounds/ ...
9
votes
4answers
18k views

What UnRar utilities are available for Mac OS X?

I have been using UnRarX ( http://www.unrarx.com/ ) and it's free and works well, but often times I will download a rar file in the browser and click on it in the recent downloads lists which will ...
1
vote
2answers
33 views

Search zipped *and* non-zipped files in one hit

I have a folder with a mix of zipped and unzipped log files which i want to search. I can search the non-zipped with grep -r "my-search-string" /path/to/folder and search the zipped files with ...
1
vote
0answers
202 views

Compress files on Windows Server 2003

Duplicate Questions How to compress files with batch file? Using compact.exe didn't do what I wanted. I'd like to have an archive file created so that the files can be retrieved. This is ...
0
votes
0answers
158 views

Download zip/tar Github repository with .git metadata?

I need to download zip/tar Git repositories from Github and get not just the source but also the .git directory. I'm aware I could use git clone, but this is for an tool that runs on systems that may ...
1
vote
0answers
66 views

Re-zip archives with the compression level “No Compression”

I am running Windows 8.1 Enterprise x64. I have a folder containing hundreds of ZIP archives (aka Compressed folders). I need the fastest way to convert them (preferably, in-place) to vaild ZIP ...
8
votes
8answers
21k 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 ...
1
vote
2answers
376 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
166 views

.zip file got corrupted while scp through 2 linux servers

A .zip file was copied by scp command from a Linux server to another Linux server and the zip file got corrupted and showed the following message. "Unzipping the list file failed. Unexpected end of ...
0
votes
2answers
58 views

Does creating a tar file need more space?

HTTP File Server or HFS is a small utility which allows one to share files with others by creating http links for every file Now when I want to download multiple files, the software creates a "tar" ...
1
vote
2answers
74 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 ...
8
votes
7answers
9k views

7zip doesn't ask me for password for a zip I encrypted while double-clicking it

I just tried to encrypt a folder with 7zip by command line choosing a password but when double-clicking on the zip file, it shows me the files list without asking any password. Any other alternative ...
2
votes
1answer
21 views

Search .zip files for sizes

I have a directory with many .zip files. I wish to search through them to match an uncompressed file size (I am trying to find which .zip my file originated in, and the name's been changed). IDEALLY, ...
21
votes
7answers
31k 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 ...
0
votes
0answers
24 views

Need help on zipping .csv files in SSIS

I have .csv files from some system, loading periodically into a .csv folder. I need to build the SSIS process, which will be checking all day/hour the files and compressing them into .zip files. ...
1
vote
0answers
42 views

How to hide error dialog box in 7zip?

I am using "C:\Program Files\7-Zip\7zG.exe" -y x -pmypassword "D:\Myfile.rar" -o"D:\Extracted Files\" for extracting a file encrypted with password. Now if 'mypassword' is not the correct password ...