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

learn more… | top users | synonyms (1)

0
votes
2answers
41 views

Update all the files in the archive with 7zip

I am using a command line version of 7zip (7za.exe). I have the following file in the folder: 7za.exe 1.txt test.zip test.zip contains several occurrences of 1.txt inside its zipped folder ...
2
votes
2answers
88 views

Integrate .7z like .zip into windows explorer?

Is there a way to integrate .7z files like .zip files in Windows explorer. Where (like .zip) you double click the .7z file and the directory is opened in the explorer. Providing a password for ...
1
vote
2answers
140 views

7z command line = 7-Zip “Extract to”

I have a dmg "winzipmacedition40.dmg". I'm trying to extract dmg from Windows 7. How do do the "extract to" method via the command line? Result 1 Using right click file -> 7-Zip -> Extract to "...
1
vote
3answers
2k views

Unzip a specific subfolder in an archive with the 7-Zip command line version

I want to unzip an ZIP archive, but just a subfolder in it. Example structure archive.zip: -rootfolder --subfolder ---subsubfolder I just want to unzip subsubfolder with 7-Zip (preferably). How ...
0
votes
0answers
49 views

Command Line to “batch” unrar many Archives into Subfolders accordingly

in Windows 10, i have an folder F:\archive with about 300 different "File 1.rar" "Otherfilename 307.rar" Knowing Linux better then Windows I spend some time to compile the following command and it ...
7
votes
1answer
11k views

Extract and overwrite existing files

I am trying to write a batch script to extract files out of an existing ZIP file, into another folder on my desktop and to have the system not prompt me as to whether I want to overwrite the existing ...
6
votes
5answers
30k views

How do I archive with subdirectories using the 7-Zip command line? Or, how do I KEEP the folder structure while archiving?

I have a bunch of files like this: C:\G\G1\35antique-shop.mp3 C:\G\G2\35antique-shop.mp3 C:\G\G1\09saguri.mp3 C:\G\G2\09saguri.mp3 I just want to know how to keep the folder structure while ...
0
votes
0answers
184 views

Command line extracting specified file from 7-Zip file

I would like to extract a specific file from a 7-Zip (.7z) file, but that filename exist twice on different directories. How can I choose one of them? I tried using a compressed path, but I received ...
1
vote
1answer
8k views

How do I extract all ZIP files in subfolders using 7-Zip on Windows 7

I have a large Windows 7 folder tree structure containing many ZIP files. These are single-layer ZIP files (not ZIP within ZIP). What 7-Zip command can I use to parse through this folder structure, ...
0
votes
1answer
16 views

How can I get dictionary size of 7z archive using comand line?

I've got an 7z archive, I've read manuals but couldn't find how can I get dictionary size of this archive using comandline?
5
votes
2answers
58k 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. ...
10
votes
2answers
13k views

Unzip .rar from command-line with 7-Zip

On the Windows command-line, I can extract archives like this: 7za e somefile.zip I know 7-Zip supports .rar in the GUI, but can it be done in commandline mode?
0
votes
3answers
638 views

Remove particularly tricky items from context menu

I've found various sources of info about removing these annoying things which I never use... but I haven't succeeded in getting rid of the following. (Avira-related:) - Scan selected files with ...
3
votes
1answer
74 views

Alter .zip double-click action to work with .7zip (Windows 10)

Currently my setup has it so that all file extensions that are supported by 7zip are extracted on double click into a folder pertaining to the name of the archive. This works perfectly on all file ...
4
votes
2answers
20k views

Why does 7-zip.exe return “Access is denied” with these arguments/parameters?

In a batch file: START "7-zip" /D "C:\Program Files\7-Zip\" "7z.exe" a -o <F:> testArchive F:\test Or, alone on the cmd as: 7z.exe a -o <C:\users\user\Desktop> testArc C:users\user\...
1
vote
2answers
124 views

Use ISO instead of ZIP or RAR to store files?

I have been doing some backups of my old files and lately I was wondering if there is another method of storing and compressing files other than ZIP or RAR. In my case, I want to store various group ...
0
votes
1answer
33 views

What are the disadvantages of using ultra compression?

7zip offers an option for ultra compression but I'm guessing that it has some disadvantages (other than being more time consuming) or else it would have been the default option... So what are they?
11
votes
2answers
9k 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 ...
0
votes
1answer
31 views

7zip batch file does not include extension Why?

I found the below batch file and it works fine but I need the code to add the extension to the final zip file. I am sure this is a simple question but I have tried everything. @echo off cd /d %~dp0 ...
0
votes
2answers
49 views

Get a listing of a 7zip file on a remote HTTP server

There's a server out there on the internet that hosts terabytes of data encapsulated in numerous 7zip (.7z) archives. Some, but not all, of this data is interesting to me. I only know which data is ...
3
votes
1answer
46 views

How easy is to recover uncompressed data if one sector is damaged in a 7zip archive?

I have around 100,000 small files which I backup every few weeks. Because they are really small, write speed to my external 2.5" USB 3.0 HDD is really slow. In 7zip, I compressed them using ...
-2
votes
1answer
59 views

Why is plain jar file compressed to 76% but after ProGuard shrink & obfuscate; it is compressed to 102% ?! How to fix?

I have a jar file of size 392 MB. I made another copy of it, so I have now two copies of the same jar file. For one of them I used 7-zip to compress it. It is compressed to 76% of the original size, ...
0
votes
0answers
64 views

how to extract .exe files from .zip archive (7-zip stuck on executable)

I face a problem that when I want to extract some .zip archive which includes .exe it will always stuck on that executable and do nothing. I never had such problems before, i can't remember at least. ...
0
votes
1answer
36 views

TAR and compress a directory but skip compression on already compressed files

I want to TAR and compress a user's home directory as efficiently as possible. The problem is there are a lot of large and already compressed (gzip/bzip2) and hard-to compress files (binaries/data) in ...
1
vote
0answers
32 views

Edge and Chrome Changing Downloaded File Extention

I'm downloading a file with the .lzp extension that both Chrome and Edge are changing it to .zip. It does appear to be a zip file just with a new extension. But the program that I'm using it for, the ...
0
votes
2answers
713 views

What happened to .gzip option in 7-zip?

I am not sure if this is just a coincident or not but I have recently upgraded my OS to Win 10. I noticed only now (after the upgrade) that the .gzip archive format is not available in 7-zip anymore....
1
vote
0answers
147 views

Creating 7zip SFX installer

I'm trying to create self extracting archive with gui, I'm using 7-Zip 9.20 on Windows 10, I just want the files in the 7z file to extract to the InstallPath directory, without running the file. I ...
0
votes
0answers
17 views

7zip File Compression Auto-Selection

When I'm zipping a folder hierarchy, I'd like 7zip to automatically detect whether a file in the folder tree is or is not already compressed, so that it automatically chooses whether to merely add an (...
0
votes
0answers
25 views

7-zip defaults to 7z extension - win 7 has no icon for this extension

I would either like to: a) set the win 7 zip folder icon as a default for the .7z extension OR b) set the 7-zip default extension to zip instead of .7z Win 7 pro SP1 (64b) 7-zip 15.14 (64b)
1
vote
2answers
261 views

How to open this file? *.ps.gz

Please somebody help me to open this file . I am not able to open it/unzip it after downloading.I always get an error when I try to unzip using 7zip.
27
votes
6answers
50k 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 ...
10
votes
7answers
3k views

7-zip for linux

7-zip for linux, does such a thing exist? I mean actually 7-zip or a port, not another compression tool or command
1
vote
1answer
224 views

Extract .7z archive keeping modified dates of extracted folders

I have a .7z archive created with 7zip, and I can see the contents, including the folders with their modified dates intact. When I extract the archive however, the newly extracted folders all have ...
2
votes
1answer
106 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
28 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
17 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
127 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
26 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
25k 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
19k 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
300 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
33 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
373 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
168 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
292 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
47 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
10 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 ...
9
votes
2answers
15k 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?
2
votes
1answer
37 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 -i[<...
7
votes
3answers
34k 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 ...