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

learn more… | top users | synonyms (1)

4
votes
1answer
819 views

Strip path segment while extracting using 7zip?

Is there a way to extract a 7z archive that contains all it's files within a directory without creating this directory in the file system but still keeping the sub-directory structure of the archive ...
3
votes
1answer
266 views

Is there a way to make 7zip temporarly uncompress the whole archive when double-clicking on an exe?

In WinRAR, one feature which I like is the fact that you can set it to uncompress the whole archive in a temporary place, if you double-click on an .exe file inside the archive opened in WinRAR. ...
2
votes
1answer
49 views

Why does 7-Zip's compression speed lower over time?

I'm busy backing up my local server files, which amounts to just under 4GB of data in ~295000 files. I selected 7z as the format, and set the level to Store. The process started pretty quickly, but ...
2
votes
1answer
2k views

What does the number after 7-zip's -m switch mean?

7-zip has a command line switch to set the compression method, -m followed by a number, e.g. -m0=LZMA. What does the number (0 in the example) mean? Different numbers produce slightly different ...
2
votes
0answers
64 views

Is it possible to make 7-Zip also extract all the other files when double clicking an exe?

With Winrar, when I double click an exe file in an archive, it also extracts all the other files in the archive, which is really handy for when the program depends on the other included files. I want ...
2
votes
0answers
102 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 ...
2
votes
0answers
645 views

Can you fix a corrupted 7z file?

So, I had a cd, with a scratch on it. The cd contained a 7z file. When I try to copy the file it gave me an error, so I used corrupted disk repair fixer and I managed to open the 7z, and view the ...
2
votes
0answers
778 views

Command line switching

I have read through some suggestions but I am just not technical enough to get this I think. I am a CAD designer and each file has 5 files associated with it. I have 3 sets of 5 files, and each set ...
1
vote
0answers
20 views

Incremental backups with 7-zip

I am trying to set up an incremental backup with 7-zip after finding zip might not suit my needs fully/easily. My data is located in /media/Data/Work. For some reason it is not liking my code. I've ...
1
vote
0answers
25 views

Possible bug in 7zip - empty folders extract as empty files

I have a directory structure as follows: Main | |--empty_folder | |--folder | |--example.txt I'm zipping it using the .NET ZipFile.CreateFromDirectory method (but I doubt this has anything to ...
1
vote
0answers
17 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
0answers
15 views

Uncompress recursively using 7-Zip from command line

I'm attempting to uncompress several .gz files using 7-Zip from the command line. My files are in directories like so: Desktop/copyto/1/ file1.gz file2.gz Desktop/copyto/2/ file1.gz ...
1
vote
0answers
41 views

7zip only asks me for a password once when I open an encrypted file

I archived some files on my laptop and encrypted them using 7zip and the first time I tried to open a file, it asks for the password, but after that it never asks for a password... is there a way to ...
1
vote
0answers
199 views

Windows .bat script to recursively archive (with 7zip) files in subfolders

I'm struggling to achieve the following DIR1 FileA FileB SUBDIR2 --->FileC --->FileD --->SUBDIR3 ------>FileE ------>FileF etc and end up ...
1
vote
0answers
123 views

7-Zip: Opening image from 7z archive produces error code 0x8000000a

I've tried encrypting a folder containing a text file and an image with AES encryption using the .7z format. When I enter the password to open the encrypted folder the two files are displayed. I can ...
1
vote
0answers
75 views

7zip on command line: can I use both include and exclude switches?

Here's my directory structure (in Windows 8.1): parentdir\ child1\ child2\ grandchild1\ grandchild2\ grandchild3\ ... child3\ child4\ ... Using ...
1
vote
0answers
40 views

Possible to make a switchless install from a password protected archive?

I am using 7-zip to make a switchless install (method for doing so here and here). I would like to use a password protected archive to make said install to help prevent the average user from simply ...
1
vote
0answers
219 views

How can I create a self-extracting executable from the windows command line that accepts the default install directory as a parameter?

I have tried several different methods including winzip command line and 7zip, but I cannot find a method that will let me create a self-extracting executable that will extract to a specific directory ...
1
vote
0answers
537 views

7zip command line - extract all files in a folder except *.exe

I am using the command: 7z.exe x -y -o<dir> <archive dir> * -aoa -r to extract all archives that are located in the archive directory. I am running into a problem where exe files that ...
1
vote
0answers
118 views

How would i make 7zip take a folder + subdirectories and individualy zip to bzip format each file in each sub directory

I want to know how to make 7zip take a folder + subdirectories and individualy zip to bzip format each file in each sub directory. if there is not a way then oh well.
1
vote
0answers
1k views

'No such interface supported' when attempting to compress file through 7zip commandline

When I run the 7zip commandline: > echo foo | 7za a arc.7z -sifoo.txt Everything works as expected, but if I try to do: echo foo | 7za a arc.zip -sifoo.txt I get the following: ...
1
vote
0answers
177 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 ...
0
votes
0answers
12 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
0answers
14 views

How to change context menu option for 7zip?

I work a lot with .gzip format and I am wondering if there is a way to change the default "Add to" format in the context from .zip to .gzip.
0
votes
0answers
15 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 ...
0
votes
0answers
139 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
26 views

“recompress” a 7z archive inline

I have a rather large (~500GB) 7-zip archive. I originally made it when I had more space available, and did so at rather fast, low-compression settings. Now things are tight, and I'd like to try and ...
0
votes
0answers
37 views

Zip epub using 7zip and issue with exlude file

I've many epub as folders need to convert it to .epub compressed so i created bash script to that ..which are compress the epub folder to zip then rename it to .epub using 7-zip btw i was try to use ...
0
votes
0answers
56 views

7z: How to exclude symbolic links from extraction?

How to ask 7z to exclude extracting symbolic links ? In following file, bad_file and passwd are symbolic links. Is there a way to ask 7z to not extract them or not create them after extraction ? ...
0
votes
0answers
55 views

How do I decrypt seczip AES256-encrypted files using 7-Zip?

Using 7za on SLES 11, how do I decrypt AES256 files? I have created these files on a mainframe using “seczip” with password protection and AES256 encryption. I want to decrypt them on an SLES 11 ...
0
votes
0answers
42 views

Set maximum size of zip/7z archive

I have multiple files that I would like to pack into archives of no more than 100MB. The only option I could find was to split the archive into volumes, but what I want is standalone archives that can ...
0
votes
0answers
106 views

how unpack rar file?

i try unpack rar file: http://fias.nalog.ru/Public/Downloads/20150309/fias_dbf.rar (4+ gb), but get errors from every methods. i try unpack with unrar-free package, my command: unrar-free x ...
0
votes
0answers
34 views

Using 7zS.sfx - Any way to force uninstall of all versions (current or previous)

Here's my situation: I am building an application using a setup and deployment project in VS 2010 and packaging it into a self-extracting executable using 7zS.sfx. Generally, my users like to execute ...
0
votes
0answers
27 views

Odd 7z Extracting Behavior

In short, I would like to use command-line 7z to extract an archive and recreate the directory structure of the archive. I know the function letter for this is "x" yet it does not seem to work for ...
0
votes
0answers
35 views

How to create a script to intelligently .zip numbered files?

I have a directory with a bunch of files with numbered file names (e.g., 002361). I'd like to write a script to regularly .zip them (or .rar, or .7z) based on their file names AND only update the ...
0
votes
0answers
646 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
135 views

How to modify files within mszip (cab) executable?

I can list and extract certain executable contents using 7z. It seems to be using standard compression methods. Path = test.exe Type = Cab Method = MSZip How can I modify files inside that ...
0
votes
0answers
53 views

Linux equivalent settings for 7zip

I'd like to use the same settings as below (Win7) on Linux to compress files, but I fail to get equal compression results, for which I blame myself not correctly using 7za. So far, I have 7za a ...
0
votes
0answers
29 views

Fixing the 7-zip COM surrogate issue?

My favorite archiver 7zip is unable to open the pictures in Windows Picture Viewer. The creator Igor Pavlov Says: The Program1 (some photo file handler) calls another Program2 (windows photo viewer) ...
0
votes
0answers
315 views

Why does Firefox keep trying to download 7zip_14396_stf.exe and setup_tsv48ouvr.exe

When I start Firefox for the first time, two files try to download, but their download fails. I have searched to find out what these files are. The "7zip" file is from safe downloads, and it looks ...
0
votes
0answers
201 views

Extract and delete all zip and rar files in subfolders + rename if files in archive have same name

i have few thousands rar and zip files in folders and subfolders. I want to extract them, and if there are the same filenames, for example: dir1 -subdir1 archive.zip ...
0
votes
0answers
118 views

Have a self extract archive extract to specific folder

How can I create a self extracting archive that will extract the contents into a specific folder? Any program or method is acceptable on windows.
0
votes
0answers
186 views

Can't extract really long file name with 7-zip

I have scoured this page which seems to be the only info I can find on extracting really long file names. Although the examples in this page deal with compressing, I would think the same principles ...
0
votes
0answers
151 views

command line extracting especified file from 7z file

I would like to extract a specific file from a 7z file, but that filename exist twice on different directories. How can I choose one of them? I tried using compressed path but I received an error ...
0
votes
0answers
244 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 shit. Is it possible to identify the ...
0
votes
0answers
741 views

7z.exe (How to Add or Delete Files inside a SubFolder in *.jar file?)

I am totally new using 7za.exe! I heard that 7za.exe also called as 7zip was being used to replace or add files inside a jar file extesion! I am trying to replace or file inside 3 sub folders in a jar ...
0
votes
0answers
462 views

p7zip installs, but doesn't install? (7za: command not found)

I've uploaded it to /usr/local and used ./install.sh with ssh. I get the following: - installing /usr/local/man/man1/7z.1 - installing /usr/local/man/man1/7za.1 - installing /usr/local/man/man1/7zr.1 ...
0
votes
0answers
293 views

Is it possible to recover partial compressed files?

Of the most popular compression methods (7z, RAR, Zip, GZip) is there any of them that allows to retrieve the uncompressed data from a partial file? Imagine there is only one compressed file, and it ...
0
votes
0answers
1k views

How to fix 7z.tmp file created in Windows xp?

I created large .7z.tmp file without noticing the .tmp extension. Now I can't open it to salvage the files which were not kept elsewhere. I have seen code by Igore that looks like it fits this problem ...
-1
votes
0answers
27 views

Strange model of zip split files

I have some zip splited files, with random sizes, and named as: file 1.zip file 2.zip file 3.zip.... I try unzip this files with the programs winzip, winrar and 7-zip, but when i click in the first ...