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

learn more… | top users | synonyms (1)

2
votes
1answer
94 views

7zip cli kills itself. Why?

I have 1 TB huge directory on debian/ext3. I need to 7zip it and then transfer it to another computer windows/ntfs. I use the following command, but in the end it says Killed. Any idea whats wrong? ...
1
vote
1answer
23 views

7-Zip auto replace original file option

I right-clicked a folder and selected "Add to Archive..." from the "7-zip" drop down menu then, a menu appears from there I can archive the file, however, the program doesn't automatically delete ...
0
votes
0answers
15 views

Using 7-Zip for peer-to-peer LAN backups, good or bad idea?

Context: A couple of computers have a few gigabytes of documents to back-up. Most of the hard drive is empty. I want to use 7-Zip to create password protected archives and distribute it among the ...
1
vote
1answer
104 views

True Crypt Alternative For Encrypting Drives

I have Windows 7 Pro and as such, bitlocker won't work for me. I have some sensitive information which I have locked with an AES-256 key in a 7zip folder, but I would like to encrypt my entire drive ...
0
votes
0answers
21 views

7zip is creating solid .zip files. Cannot add/remove/overwrite to .zip files ad-hoc

I'm using 7zip as an archive creation tool. .7z files may be created as solid or nonsolid files. .zip files are supposed to be inherently nonsolid. I have ~5GB of hierarchal folder/file structure ...
13
votes
8answers
24k 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?
10
votes
6answers
18k 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 ...
0
votes
0answers
295 views

How I can identify the packer which was used for creation of some crapware installer bundles (setup.exe)

A lot of so called "freeware" bundle installers contains one or more unwanted disgusting crapware components like the evil ask toolbar or other similar hexadecimal stuff. Is it possible to identify ...
0
votes
0answers
30 views

How do I fix 7-Zip's default localization for its shell integration?

7-Zip installed itself in my native language. I managed to change the language of the 7-Zip program via its UI, but its shell integration is still in my native language. Is there any way I can ...
4
votes
2answers
328 views

How to unzip a zip file to a folder but avoid duplicate folders?

I think you all know that: you're getting a zip file and you don't know whether it contains all files in a folder or only the files. In order to not get a messed up directory, I never use "Extract ...
2
votes
1answer
159 views

How to hide error dialog box in 7zip?

I am using "C:\Program Files\7-Zip\7zG.exe" -y x -pmypassword "D:\Myfile.rar" -o"D:\Extracted Files\" for extracting a file encrypted with password. Now if 'mypassword' is not the correct password ...
1
vote
4answers
214 views

Can 7zip remove empty directories after extracting an archive?

I have a 7zip archive that has several files/folders that I want to extract to a specific place. I've simplified the example to make it minimal, complete, and verifiable. -I don't want to maintain ...
0
votes
0answers
35 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 ...
0
votes
0answers
9 views

7zip - Encrypting and compressing each file in a folder while maintaining directory structure [duplicate]

Say I have a directory structure like this: - main folder - folder 1 - file 1.txt - folder 2 - folder 3 - file 2.txt - file 3.png - file 4.txt - file 5.jpg I'd like to ...
8
votes
2answers
14k 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?
9
votes
4answers
18k views

How do I enable multi-threaded LZMA2 using 7-zip 9.20 on the command line?

How do I enable multi-threaded LZMA2 using 7-zip 9.20 on the command line? I know this is normally done with the -t option like so: "-tzip" . How do I do this with LZMA2? I tried -tlzma and ...
2
votes
1answer
36 views

How, exactly, is ! meant to be used with 7-zip CLI parameters?

The -i and -x parameters of the 7-zip CLI interpet ! in a special way. Or at least it looks that way from their documentation. That documentation includes the following: Syntax ...
7
votes
3answers
32k 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 ...
0
votes
1answer
4k views

Unzip a multi-file zip archive in freebsd

I created a multi-file zip archive of some files using 7zip on Windows to allow more easy uploading to my server. I now want to unzip this archive on the server, but I get this error: [user@host ...
2
votes
1answer
13k views

Batch the “Extract Here” command

I would like to batch the "Extract Here..." command on a complete folder. Every type of archive should be unzipped into the current folder with the name of the archive file. I have found some BATCH ...
2
votes
2answers
874 views

unzip command line to sync destination folder

Is there a way to unzip a .zip to a folder and sync the contents of that folder with the contents of the .zip? I know you can do an -u(pdate) option that will update the folder with newer files, but ...
9
votes
3answers
6k views

How to prevent 7-Zip encrypted zip file passwords from being stored on the hard-drive?

I've encrypted a folder with 7-Zip 9.20, specifying 256-bit AES and a password, and the .zip file was created. But then, when I clicked on the zipped file, to my surprise, PeaZip 5.1.1, which was the ...
0
votes
0answers
650 views

Unzip .gz file in windows batch script using 7zip

I have 7 zip installed on windows machine. I have to extract .gz files into .txt files. I am not able to find a suitable command to do that. I tried below : 7za e ...
0
votes
0answers
1k views

How to unpack rar archive with p7zip under Centos 7

I'd like to make my 7z command to be able to extract RAR archives. I have installed p7zip and p7zip-plugins packages from EPEL repository. However, if I try to extract a rar file like this: 7z x ...
0
votes
0answers
72 views

Dry run test the final file size of a rar or 7z file via terminal?

Is there a way of seeing the final file size (so I can determine how much space saving) of a zip file, preferably a rar or 7z file. I'm on a mac so ideally I'd like to do it via the Terminal. I've ...
4
votes
2answers
998 views

7zip filename encoding problems

I have problems extracting files from 7zip archive with non-ascii symbols in filenames. I have identical versions of 7z on two computers, which differ only by the system locale. If I compress on one ...
16
votes
5answers
12k views

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

I like 7-Zip a lot - it's my compression utility of choice on Windows. 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 because ...
1
vote
0answers
190 views

How to make a split archive for DVD storage where single files are extracted from the set without needing all the DVD's

I'm getting ready to 7z/rar/whatever 1125 files (About 300GB) into a split archive with each piece being 4,700,372,992 bytes. The idea is that I can put each split onto a DVD+R that will fill the DVD ...
3
votes
0answers
118 views

Extracting an archive with millions of files with 7z is very slow

I have an archive with ~2 millions files, each of them being a few KB when uncompressed. The extraction is extremely slow (1 or 2 files per second). I see that 7z uses 100% of one CPU core. Is it ...
6
votes
3answers
15k 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 ...
0
votes
1answer
724 views

Compressing bigger than 1GB files seems not to work

I tried my best to compress some videos, about 1.4GB each. I tried to compress them separately, "tarring" (using tar) them and then compress, everything. I'm on OS X Lion and I did try the ...
1
vote
0answers
50 views

7-Zip: Empty tar file created

Using 7-Zip portable i created a tar file containing a folder which also contains numerous files and folders (200mb+). When i open the tar file it is empty, but the size of the tar file is exactly ...
16
votes
4answers
21k 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 ...
0
votes
0answers
21 views

How to completely password protect a zip file [duplicate]

I have 7-Zip and Total Commander installed - both can create ZIP files with password protection, but it's applied only to files inside, opening of the ZIP file itself happens actualy without the ...
1
vote
5answers
22k views

How to compress a JPG image File

I am trying to send an email with an image attachment. But the image size is 40MB and the attachment size can only be 25MB. How can I compress the size of the image so that I can send it via Email?. I ...
15
votes
7answers
19k 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. Is there any way to ...
0
votes
1answer
227 views

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
0
votes
2answers
364 views

How can I extract multiple 7zip archives to folders with the same names in Linux?

I have about 300 7zip archives, each with several files in them, and no directory structure inside. I need to extract all these archives to folders that match the respective archive. Example: ...
7
votes
3answers
8k 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, ...
2
votes
1answer
36 views

Command line 7zip exlude

I have tried this many times but not yet got it. How to use 7zip to zip directory without one directory inside other. Like: I have a folder /home/files/ and inside that, directory1/ and ...
20
votes
3answers
69k 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 ...
14
votes
4answers
46k 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 ...
0
votes
1answer
60 views

7zip tries to compress files and folder outside of the path

I use the command line of 7zip, 7za, to compress a folder, on Windows web server 2008 R2. 7za.exe a -tzip -r %nome_file% "C:\inetpub" I expect it to compress everything inside the folder "inetpub, ...
1
vote
3answers
1k views

Windows 10 changing .zip file association

I have 7-zip installed and it hasn't changed the default file associations. I've changed the associations for .rar and .7z, but I can't find a way to change .zip. I looked in Default Programs\Set ...
1
vote
1answer
73 views

How to hide the Contents of a 7-Zip SFX Archive?

I've just Created a 7-Zip SFX Archive containing my Test Results. But whenever I open the File.sfx.exe with 7-Zip from the Context menu as Open Archive, I directly get the SFX Contents. I want my ...
0
votes
0answers
25 views

Archive differently named folders with 7zip in batch file

I want to write a batch file that will use 7zip to archive folders with certain names. The names will be different each time the batch file is run because the dates change. YYYY-MM-DD will represent ...
7
votes
2answers
8k views

Incremental backup with 7zip

I have googled and searched, but can't find the command that 7zip command line utility uses for making incremental backups. So can someone please share the command ? Thanks btw I found this link: ...
0
votes
1answer
180 views

Extracting .7z file with Unrar.exe and command line?

With WinRar.exe 5.00 we can extract a .7z file. (with right click on a file and extract it) but with Unrar.exe 5.00 and the following command line C:\Program Files\WinRAR>unrar x ...
18
votes
4answers
7k 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 ...
-1
votes
1answer
49 views

Create multiple zip files

I have a bunch of files that I would like to zip, I need a script to recursively run through a directory and find all files with name test*.txt as an example. That is the easy part, so I have used ...