Questions tagged [7-zip]
7-Zip is an open source file compression and archiving application
828
questions
264
votes
4
answers
324k
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?
169
votes
3
answers
189k
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\*.* ...
141
votes
8
answers
269k
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 ...
124
votes
4
answers
215k
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 ...
120
votes
6
answers
382k
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 ...
101
votes
10
answers
506k
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 ...
91
votes
5
answers
315k
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 ...
85
votes
5
answers
280k
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 ...
83
votes
1
answer
43k
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 ...
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 "...
60
votes
5
answers
106k
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?
60
votes
4
answers
61k
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 ...
58
votes
4
answers
70k
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 ...
57
votes
1
answer
93k
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-...
55
votes
11
answers
287k
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 ...
54
votes
1
answer
71k
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) ...
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 ...
52
votes
5
answers
108k
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 ...
51
votes
7
answers
223k
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 ...
51
votes
4
answers
93k
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?
50
votes
7
answers
119k
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 ...
50
votes
2
answers
66k
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?
50
votes
7
answers
182k
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 ...
49
votes
5
answers
169k
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?
45
votes
1
answer
168k
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
...
44
votes
6
answers
65k
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?
43
votes
6
answers
30k
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 ...
42
votes
3
answers
69k
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?
42
votes
1
answer
45k
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 ...
41
votes
3
answers
78k
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 ...
41
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:
>>&...
39
votes
4
answers
67k
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 ...
39
votes
12
answers
273k
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 ...
39
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 ...
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?
34
votes
1
answer
34k
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 ...
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 ...
32
votes
4
answers
201k
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?
30
votes
2
answers
75k
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 ...
30
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 ...
29
votes
4
answers
67k
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?...
28
votes
6
answers
42k
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. ...
28
votes
3
answers
39k
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 ...
27
votes
6
answers
9k
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 ...
27
votes
2
answers
146k
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-...
25
votes
4
answers
129k
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 ...
25
votes
5
answers
24k
views
How can I open a .7z file in Ubuntu?
How can I open a .7z file in Ubuntu?
24
votes
9
answers
108k
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 ...
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 ...
24
votes
3
answers
65k
views
How to pass multiple files to zip in a single command using 7 zip?
I have one folder which will contain below mentioned files:
destiny.txt
destiny1.txt
destiny2.txt
destiny3.txt
destiny4.txt
destiny5.txt
destiny6.txt
destiny7.txt
Out of which destiny1.txt, destiny4....