Questions tagged [7-zip]

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

enter image description here

7-Zip is an open source file compression and archiving program.

7-Zip supports the 7z archive format as well as most standard archive/compression formats, and can unpack a wide range of file types.

It pioneered the LZMA compression algorithm, which focuses on a strong compression ratio.

7-Zip runs on and (as p7zip) .

836 questions
272
votes
5 answers

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?
172
votes
3 answers

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\*.* or \obj\*.* folders found underneath…
Yoopergeek
  • 1,872
150
votes
8 answers

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 Here from the context menu. I then take the…
quickcel
  • 4,919
130
votes
4 answers

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 called folder1.zip. Running the following 7za.exe a -tzip…
gg.
  • 1,403
122
votes
6 answers

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 that is still in the zip format. What are the best…
jjnguy
  • 1,877
103
votes
11 answers

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 best way to split it? Can I use 7-Zip to create…
stefanB
  • 1,173
96
votes
5 answers

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 do this?
duhaas
  • 1,083
91
votes
5 answers

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 cores is the max.
90
votes
1 answer

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 bottom of it and then share in case anyone else…
Martin
  • 2,276
64
votes
5 answers

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
  • 743
61
votes
9 answers

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 available on all systems.
Zombo
  • 1
61
votes
4 answers

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 for large files (as it is now!). Edit: Please…
user69835
61
votes
4 answers

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 folder to the target directory. The second part of…
JamesGecko
  • 2,120
61
votes
1 answer

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-15 p7zip Version 9.13…
hopeseekr
  • 1,762
60
votes
3 answers

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 "open with"(7zG.exe) doesn't work, because 7-Zip…
1
2 3
55 56