7-Zip is a file compression archiving program

learn more… | top users | synonyms (1)

38
votes
2answers
35k views

7Zip - Command Line : Exclude folder(s) by wildcard pattern?

Any idea how to exclude a wild-carded path(s) from a command-line 7zip command? I'm doing something this: 7z.exe a -t7z archive.7z FolderToArchive\ -mx0 and would like to exclude any \bin*.* or ...
33
votes
3answers
33k views

How can I unzip a .tar.gz in one step (using 7-Zip)?

I am using 7-Zip on Windows XP and whenever I download a .tar.gz file it takes me two steps to completely extract the file(s). I right-click on the example.tar.gz file and choose 7-Zip --> Extract ...
31
votes
5answers
2k views

Why is a 7zipped file larger than the raw file? [duplicate]

Possible Duplicate: Why doesn't ZIP Compression compress anything? I tried 7zipping an .exe file but it actually became larger. Is this the expected result?
30
votes
6answers
38k views

How do I use 7-zip to backup files, but exclude some directories

I would like to use 7-zip to backup a directory, but I would like it to exclude all directories named ".svn" (anywhere in the source tree). Does anybody know if this is possible and in that case how?
22
votes
4answers
9k views

What is the reason for 7-zip / WinRAR to first unzip files to “temp” and then move them to destination?

What is the reason for 7-zip / WinRAR to first unzip files to "temp" and then move them to destination? I do not see any advantage against just directly unzipping to destination. It is really ...
22
votes
6answers
2k views

How can I evaluate the best choice of archive format for compressing files?

In general, I've observed the following: Linux-y files or tools use bzip2 or gzip for distributing archives Windows-y files or tools use ZIP for distributing archives Many people use 7-Zip for ...
21
votes
5answers
13k views

How can I open a .7z file in Ubuntu?

How can I open a .7z file in Ubuntu?
17
votes
4answers
53k views

7-Zip and unzipping from command line

I am looking to use the command line 7-Zip to unzip a folder. I have a file, say example.zip and want to unzip the contents of the file into a folder called example. What are the commands I need to ...
14
votes
2answers
21k views

Is it possible to execute a file after extraction from a 7-Zip self-extracting archive (SFX) archive?

I'm try to make a compressed deploy-able application. Currently I'm taking a set of files that I've published from my IDE (Visual Studio 2008 - WPF published application) and compressing ...
13
votes
4answers
18k views

Extract 7z files with standard linux tools?

I know that you can extract .7z files with 7-zip. Is there another standard linux program that can do this? Maybe one of these tar bzip2 xz gzip I will add that bsdtar can do this, but is not ...
12
votes
4answers
22k 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 ...
12
votes
2answers
27k views

Different compression methods in 7zip: Which is best suited for what task?

So there are different compression methods in 7zip. Which method is best suited for what task? For example: One difference between LZMA and LZMA2 is I can choose all my cpu cores, whereas in LZMA 2 ...
10
votes
1answer
657 views

How to stop 7-Zip from automatically downloading and opening a zip file in Chrome?

I have checked the "Ask where to save each file before downloading" option in Chrome settings yet after installing 7-Zip, every time I click on a link which targets a .zip file: chrome doesn't fire ...
10
votes
5answers
6k views

Is there a way of replacing those ghastly 7-Zip default icons?

I like 7-Zip a lot - it's my compression utility of choice on Vista and XP. I have just one problem with it: it's butt ugly. I'm really kind of reluctant to install it on my fresh Windows 7 system ...
10
votes
1answer
1k views

How to do “legacy” ZIP compression with 7zip?

We have an old application that requires zip files to be "legacy" format. I would really love to get rid of the adware ridden WinZip and use 7zip. However, I don't know which compression options and ...
10
votes
2answers
1k views

NTFS alternate stream in compressed archive?

Does any of the major compressed archive formats in Windows (e.g. zip, rar, 7z) support NTFS alternate data stream?
10
votes
1answer
7k views

How to create multipart 7zip file in Linux?

How can I create a multipart 7zip file in Linux using the p7zip console client? Many people referred me to it. My console app is 7-Zip [64] 9.13 beta Copyright (c) 1999-2010 Igor Pavlov ...
9
votes
8answers
9k views

Why doesn't ZIP Compression compress anything?

A 398MB directory was only compressed to 393MB using 7Z and Normal ZIP compression. Is this normal? If so, why do people continue to use ZIP on Windows?
9
votes
3answers
2k views

How do you register the 7-Zip GUI program with the .7z extension in Windows?

For whatever reason, the 64-bit Windows Installer doesn't seem to register the .7z file extension with the 7-Zip GUI (or with anything, as far as I can tell). How do I go about doing it. A simple ...
9
votes
7answers
2k views

7-zip for linux

7-zip for linux, does such a thing exist? I mean actually 7-zip or a port, not another compression tool or command
9
votes
3answers
5k views

7zip: how to extract to std output?

I have 7z 4.65 and am trying to extract a single file to standard output. The 7z command-line help says -so is the command-line parameter to extract to standard output, but when I try this: ...
9
votes
4answers
24k 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 ...
9
votes
3answers
7k views

Extracting msi files using Linux

Related: How to extract files from MSI package? To extract the contents of a MSI installer using Linux, I can either use msiexec with wine or use 7zip. However, the latter does not preserve ...
8
votes
6answers
14k views

How do I uncompress vmlinuz to vmlinux?

I have already tried uncompress, gzip, and all other solutions that come up as google results and these have not worked for me. To get just the image search for the GZ signature - 1f 8b 08 00. ...
8
votes
3answers
12k 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 ...
8
votes
3answers
13k views

7-Zip compression on multi-core computers

Does 7-Zip take advantage of multiprocessor or multi-core systems when compressing? For example, would there be a close to 16 times speed-up on a 16 core system assuming no disk or memory ...
8
votes
2answers
32k views

What settings to use when making 7zip files in order to get maximum compression when compressing PDFs?

What settings to use when making 7zip files in order to get maximum compression? I'm compressing PDF documents containing scanned images. I'm thinking about using LZMA2, but I don't know what to set ...
8
votes
8answers
17k 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 ...
8
votes
3answers
8k views

How to do “Files to store without compression” in 7-zip?

Is there any way to selectively prevent certain file types from compression in 7-zip, like in WinRAR? I'm trying to compress a huge folder (many gigabytes), and I don't want the already-compressed ...
7
votes
3answers
5k views

How can I install 7zip so I can run it from Terminal on OS X

I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
7
votes
1answer
8k views

Create an archive from a directory without the directory name being added to the archive

I have the following folder structure root folder1 folder2 folder3 7za.exe I want to run the 7-zip command line tool to zip up all the files in folder1 to a zip file called ...
7
votes
3answers
2k views

How to disable the output of 7-Zip?

I use 7-Zip to compress files inside a batch file like this: ...\right_path\7z a output_file_name.zip file_to_be_compressed I got the following output: 7-Zip 4.65 Copyright (c) 1999-2009 Igor ...
7
votes
1answer
8k views

7zip Add to Archive: How to exclude certain file types/extensions?

I want to archive a folder but want to exlude all media files. How do I leave out: *.avi *.flac when archiving?
7
votes
5answers
4k views

Is it safe to store my passwords in an encrypted .7z/.zip by 7-zip?

Here is what I do: Type in all kinds of passwords in an excel file (.xlsx) Zip it with a password by 7-zip AES 256 length > 8 combination of A-Z a-z 0-9 symbols different from ...
6
votes
8answers
16k views

How to make 7-zip do a whole bunch of folders

I got a bunch of pictures that I had to crop into 800x600 pixels. That was easily done, but now I have to upload them so the family can see them all. Thing is, this is 500MB in pictures. I decided to ...
6
votes
7answers
8k 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 ...
6
votes
2answers
5k views

7 zip extract recursively

I have several folders, and within each folder, there are zip files. I want to run a command line order to recursively go through every folder and extract in place every archived file that it finds, ...
6
votes
2answers
3k views

Make 7-Zip extract an archive directly to a directory

Whenever I extract an archive using 7-Zip, it performs a two step operation. First it extracts the contents of the archives to a temporary folder, then Windows copies the files from the temporary ...
6
votes
1answer
3k views

Multithreaded support in 7za

(I posted this first on serverfault, but then I realized it probably belongs here.) I'm trying compress a very large text file using 7za (p7zip) 9.20. The -mmt option doesn't seem to have any effect. ...
6
votes
2answers
3k 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 ...
5
votes
3answers
461 views

Need to archive/encrypt 20GB of files

I have 20GB of creative files (flash/photoshop/illustrator) files that i need to ship to someone. Unfortunately, sending thru the internet isn't possible (proxy on both ends, unreliable connections, ...
5
votes
3answers
28k views

Howto unzip “.xz” file with 7z and lzma

I tried to uncompressed a "*.xz" file with both 7z and lzma. But they gave me such message: $ 7z x myfile.fq.xz 7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06 p7zip Version 4.57 ...
5
votes
3answers
4k views

Do encrypted compression containers like ZIP and 7-Zip compress or encrypt first?

The discussion of "compress and then encrypt, or vice-versa" led me to ponder the following question: many compression containers, like ZIP, 7z, and rar support encrypting these containers. For ...
5
votes
2answers
674 views

Can the “copying” step from 7zip be sped up?

I use 7Zip to extract compressed files. I am currently working with a compressed 7GB RAR file that expands to 55.6GB. I understand the time it takes to unzip the file, but then I have to sit and ...
5
votes
4answers
10k views

7-zip & Windows 7: Make “Extract to <folder>” default on double-click

I'm trying to find a way to make the action you can perform from the context menu, "Extract to <folder_same_as_file_name>" the default action when double-clicking the file instead of simply ...
5
votes
2answers
13k views

7-Zip command line to extract a folder from an archive

I'm using the 7-Zip commandline to extract a ZIP archive called abc.zip which is an archive with a folder called 'zipper' with three text files in it (a.txt, b.txt, and c.txt). My problem is when I ...
5
votes
2answers
3k views

How do I use 7-Zip for Windows to create .tar.gz archives?

How can I use the 7-Zip CLI (7za.exe) on Windows to create .tgz archives, as I use tar zcvf archive.tgz source_files on Linux?
5
votes
1answer
128 views

How to exclude a folder in 7zip?

I want to compress the folder C:\Temp but without a specific subfolder (e.g. C:\Temp\test). How can I do that with 7zip? I've come up with the following command: c:\Temp>7zip a -t7z test.7z ...
5
votes
2answers
639 views

How to merge .001, .002 … files from multiple drives?

Is there a way to merge multiple part files (.0001, .0002, etc.) from multiple drives? I have three part files of 5 GB each, but I have only 20 GB on the hard drive. I would need another 10 GB to ...
5
votes
2answers
3k views

Symbolic links and 7zip

I'm trying to compress a folder into a .7z archive. This folder contains symbolic links to some other stuff outside the folder (both directories and files). Apparently 7zip just archives the link ...