Questions tagged [7-zip]

7-Zip is an open source file compression and archiving application

Filter by
Sorted by
Tagged with
262 votes
4 answers
317k 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?
Paul Sheldrake's user avatar
162 votes
3 answers
186k 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 like this: 7z.exe a -t7z archive.7z FolderToArchive\ -mx0 and would like to exclude any \bin\*.* ...
Yoopergeek's user avatar
  • 1,772
141 votes
8 answers
264k 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 ...
quickcel's user avatar
  • 4,829
123 votes
4 answers
210k views

Creating 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 compress all the files in folder1 to a zip file ...
gg.'s user avatar
  • 1,333
120 votes
6 answers
378k 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 ...
jjnguy's user avatar
  • 1,857
100 votes
10 answers
499k views

How can I split a large file on Windows?

Is there a tool to split large text file (9 GB) into smaller files, so that I can open it and look through? Is there anything usable from the command line that comes with Windows (XP)? Or what's the ...
stefanB's user avatar
  • 1,143
91 votes
5 answers
304k 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 ...
duhaas's user avatar
  • 1,033
85 votes
5 answers
275k 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 ...
Grumpy ol' Bear's user avatar
81 votes
1 answer
40k views

7-Zip -- 7z.exe | 7zG.exe | 7zFM.exe (which one to use?)

7-Zip has multiple .exe files, which one do I use? Every so often I would forget which way round these were, or would try and use one of the .exe's for the wrong purpose, so thought I would get to the ...
Martin's user avatar
  • 1,836
60 votes
3 answers
37k 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 "...
Clayton Hughes's user avatar
60 votes
4 answers
60k views

Why do 7-zip / WinRAR unzip files to "temp" before moving them to their destination?

Why do 7-zip / WinRAR unzip files to "temp" before moving them to their destination? I do not see any advantage against just directly unzipping to destination. It is really irritating, especially ...
user avatar
59 votes
5 answers
103k views

Extract a certain file from an archive with 7-Zip from the command line

If I have an archive, for example, some.zip that contains one or more files, how can I extract only one file (I know the name of the file) with 7-Zip from the command line in Windows?
Kiesoo's user avatar
  • 693
56 votes
4 answers
68k 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 ...
JamesGecko's user avatar
  • 2,020
56 votes
1 answer
91k 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 2010-04-...
hopeseekr's user avatar
  • 1,672
55 votes
11 answers
278k 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 ...
Guy's user avatar
  • 4,117
54 votes
1 answer
70k views

How to extract 7z zip and have correct directory strucuture?

XXXhostXXX:temp XXXuserXXX$ ls -a dir1/ . .. a.txt b.txt XXXhostXXX:temp XXXuserXXX$ pwd /Users/XXXuserXXX/temp XXXhostXXX:temp XXXuserXXX$ 7z a -t7z dir1 dir1 7-Zip [64] 9.20 Copyright (c) ...
qazwsx's user avatar
  • 8,889
52 votes
12 answers
97k views

Missing Explorer menu options for 7-Zip

Just reinstalling 7-Zip (v.9.2) to a new system, and I cannot find the context-menu option in Explorer. In the 7-Zip options there is no plugins tab (as detailed in the documentation) to change this ...
geotheory's user avatar
  • 1,089
52 votes
5 answers
107k 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 ...
Mike G's user avatar
  • 623
51 votes
7 answers
212k 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 ...
Zombo's user avatar
  • 1
51 votes
4 answers
91k 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?
matt wilkie's user avatar
  • 5,153
50 votes
7 answers
116k views

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

I just tried to encrypt a folder with 7-Zip by a command line, choosing a password, but when double-clicking on the ZIP file, it shows me the files list without asking any password. Is there a way to ...
user avatar
49 votes
7 answers
179k 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 file types and sizes comparing the 7-Zip and WinRAR ...
Kefka's user avatar
  • 1,436
48 votes
2 answers
65k views

Add to a 7-Zip archive: How to exclude certain file types/extensions?

I want to archive a folder, but I want to exlude all media files. How do I leave out *.avi and *.flac when archiving?
Level1Coder's user avatar
  • 2,397
47 votes
5 answers
166k views

How do I create separate zip files for each selected file/directory in 7zip?

This is the internal zip packer from Total Commander: However I want to use my 7zip packer. When I select 5 files, I get 5 separate .zip archives for each selected file. How do I do that in 7zip?
Grumpy ol' Bear's user avatar
44 votes
1 answer
162k views

7-Zip command line to zip all the content of a folder (without zipping the folder itself) [duplicate]

Possible Duplicate: Create an archive from a directory without the directory name being added to the archive I have a folder that I want to zip completely: MyFolder | |--- SubFolder1 ...
alex's user avatar
  • 441
43 votes
6 answers
29k 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 ...
Misha Moroshko's user avatar
43 votes
6 answers
64k 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?
Mikael Sundberg's user avatar
42 votes
3 answers
67k views

How do I use 7-Zip CLI 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?
f.ardelian's user avatar
42 votes
1 answer
44k views

How does "Word Size" affect compression?

In 7 Zip when adding a folder to an archive there is the option to change the Word Size. How does this word size affect compression, in particular the final size of the zip? I noticed that changing ...
Aequitas's user avatar
  • 673
41 votes
3 answers
76k 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 ...
user541686's user avatar
  • 23.9k
39 votes
4 answers
66k views

7-zip cannot open file on double click

I have installed 7-Zip on my machine and associated it with serveral archive file types. When double clicking an archive (so far I have tried .zip, .7z and .bz2 files), a message box pops up telling ...
Chris's user avatar
  • 963
39 votes
4 answers
30k 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: >>&...
Jason S's user avatar
  • 7,665
38 votes
5 answers
21k 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?
IMB's user avatar
  • 5,503
38 votes
3 answers
57k 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 ...
Michael Schubert's user avatar
36 votes
12 answers
257k views

Mac OS: Unable to expand zip file

Mac OS. I am unable to expand zip file. I have tried this: Unzip in Terminal: Open Terminal. Type unzip and a space, then drag/drop the zip file into the Terminal window. Press Enter and the zip ...
juleshoward's user avatar
34 votes
1 answer
33k views

Comparing 7z.exe and 7za.exe

I understand that 7za.exe supports a smaller number of compression formats, but I was curious what else may be different between the two, other than just that? Having some additional information on ...
lit's user avatar
  • 911
33 votes
1 answer
5k views

7-Zip seems unable to compress zero-filled virtual disk image after 1.8 GB

I am trying to compress a virtual disk image that is mostly empty. It has about 2 GB used out of 13.5, but even after zero filling the empty space, I am still only able to compress it to around ...
Tom's user avatar
  • 831
32 votes
4 answers
193k views

What does "There are some data after the end of the payload data" mean?

I get a warning "There are some data after the end of the payload data" when extracting an archive. What does this mean? Is the file corrupted?
user198350's user avatar
  • 4,029
30 votes
2 answers
72k views

7Zip Cannot create symbolic link, access is denied to libhdfs.so and libhadoop.so

I am working on Windows 10 and trying to install Hadoop I downloaded it from here. When trying to extract Hadoop for files (libhdfs.so and libhadoop.so) I am getting the error. Cannot create ...
Matas Vaitkevicius's user avatar
29 votes
4 answers
65k 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 bottlenecks?...
Peter Mortensen's user avatar
29 votes
2 answers
4k views

Compressing many similar large images?

I'm dealing with a large archive of satellite images of the Earth, each one taken 15 minutes apart over the same area, therefore they are quite similar to each other. Two contiguous ones look like ...
Camilo Rada's user avatar
28 votes
6 answers
41k 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. ...
Brian L's user avatar
  • 383
28 votes
3 answers
38k 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 ...
Fire Lancer's user avatar
  • 1,363
27 votes
6 answers
8k 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 ...
user541686's user avatar
  • 23.9k
26 votes
2 answers
145k views

7-Zip command line: Extract silently/quietly [duplicate]

Possible Duplicate: How to disable the output of 7-Zip? I want to use 7z.exe from a command prompt to silently/quietly extract an archive. I do not want to use third-party scripts or APIs. Does 7-...
oscilatingcretin's user avatar
25 votes
4 answers
127k 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 ...
meds's user avatar
  • 575
25 votes
5 answers
24k views

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

How can I open a .7z file in Ubuntu?
flybywire's user avatar
  • 4,060
24 votes
7 answers
61k 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. >...
Lord Loh.'s user avatar
  • 1,024
24 votes
9 answers
106k 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 ...
KdgDev's user avatar
  • 5,518
24 votes
1 answer
20k views

List zip file's contents using 7zip command line with non-verbose machine-friendly output

Is there a way, in windows, to use 7z.exe's list command such that the copyright heading, file information, and column headers are skipped and you're left with just a terse machine-readable list of ...
ivanatpr's user avatar
  • 898

1
2 3 4 5
17