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) .

826 questions
52
votes
12 answers

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 setting. Any idea how to get the option Explorer…
geotheory
  • 1,089
42
votes
1 answer

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 the compression level increases the word size,…
Aequitas
  • 673
39
votes
4 answers

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: >>> 7z e -so dist\dlogpkg.jar META-INF/MANIFEST.MF 7-Zip…
Jason S
  • 7,665
32
votes
4 answers

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
  • 4,019
25
votes
3 answers

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.txt, destiny6.txt are from batch1. I am using…
abhayk
  • 439
13
votes
2 answers

7z How to pass password and avoid prompt?

In Linux, I am using 7z to decrypt a *.7z encrypted file. Is there a way to pass in the password via pipe or any other method that can be automated? I tried echo password | 7z x archive.7z but still prompted me for password.
drum
  • 689
11
votes
2 answers

7z: What *does* the -r flag do?

The man page for 7z simply says Do not use "-r" because this flag does not do what you think. The only documentation I can find basically restates the same thing. -r[-|0] Recurse subdirectories (CAUTION: this flag does not do what …
tripleee
  • 3,191
10
votes
3 answers

7za.exe: Add files to subfolder in archive

7za a -t7z -mmt -mx9 -y Include.7z .\Include\* The above command adds the files to the 7z archive, but what if I want them in a custom subfolder? For example Files\ inside .7z
10
votes
1 answer

How to 7zip multiple folders in to one 7z package?

Let's say there are 3 folders: /a/1 /b/1 /c/1 And any of the folders may contain sub folders like /a/1/x /b/1/y ... How to compress /a/1 /b/1 /c/1 folder with files and sub folders into same one 7z file and keep path info well in the package?
Al3n
  • 184
10
votes
2 answers

How do I add a file to a zipped file when using 7-zip?

I used to be able to drag & drop and add a file to a zipped folder. Now I cant when using 7-zip. I upgraded to a new computer with windows 8 (nightmare) that has 7-zip and I would either like to be able to add files to a zipped folder or install the…
Michelle
  • 101
9
votes
5 answers

Create 7-Zip SFX executable

I'm playing around with 7-Zip to create a self-extracting archive (SFX) executable. I followed the documentation, but I wasn't able to get any close. I'm using the 7-Zip 32 bit and the 7-Zip extra 32 bit. Here is where I'm stuck first to create an…
jprbest
6
votes
1 answer

Define root folder with 7zip

I am using 7zip with this command tools/7zip/7z.exe a publish/Site.zip publish/Site/* When I do this, 7zip creates a zip file with a publish folder then a Site folder and then my files. I'd like that the contents of my Site folder to be the root…
thitemple
  • 173
6
votes
4 answers

Where do I get a 7-zip install package that isn't an executable file?

I remember a previous option where you could download a zip file containing everything you need to run 7-zip. Now all the download page has is executable files, msi (Microsoft installer framework for Windows), and .7z packages of extras. Where's the…
5
votes
0 answers

On the command line how can I tell 7-Zip to disable the new (in 23.00) ARM64 filter?

Question How can I teach 7-Zip -- specifically the command line version 7z -- that I want to disable only the ARM64 filter, but all others are acceptable? My goal would now be to disable the ARM64 filter in the newer 7-Zip versions, keeping…
0xC0000022L
  • 7,033
5
votes
1 answer

Tracking progress of 7zip command line to create a zip archive

I will be running 7Zip from node.js as a command line batch job. Is there a way to track the progress, (i.e. to read the progress meter (20% OF 100%) either by reading the output stream, or any other way so that I can forward this to a user. Thanks
Dr.YSG
  • 231
1
2 3 4 5