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

learn more… | top users | synonyms (1)

0
votes
0answers
340 views

7ZG.exe - extract subfiles and subdirectories of a specific folder

I have a zip archive, containing a folder called filesFolder. I want to extract the contents of that directory (filesFolder) without the directory name prefixed. This is the command I have so far: ...
0
votes
1answer
124 views

Can decompress RAR files with 7z.exe command line?

Can extract RAR files from the terminal with 7z.exe? Thanks! This lines doesn´t works on a Extract.bat file. 7z.exe X Xbox.rar -o
10
votes
1answer
2k views

How to stop 7-Zip from automatically downloading and opening a zip file in Chrome?

I have checked the "Ask where to save each file before downloading" option in Chrome settings yet after installing 7-Zip, every time I click on a link which targets a .zip file: chrome doesn't fire ...
0
votes
0answers
67 views

Batch rearchive zip into 7z using best options and asking for each what to do

Batch repacking zip archives into 7z this one helps a bit, but I would like to get asked for each ZIP files to what to do(opts: delete, repack, leave as it is), and idk if this script does, but after ...
3
votes
1answer
106 views

Is there a way to compress files at different compression levels inside a single 7zip file? [duplicate]

Some files are compressed using their own compression scheme and some aren't. If I try Max compression on an already compressed file, I'll get 1%-2% better compression at most. The amount of time ...
5
votes
1answer
226 views

How to exclude a folder in 7zip?

I want to compress the folder C:\Temp but without a specific subfolder (e.g. C:\Temp\test). How can I do that with 7zip? I've come up with the following command: c:\Temp>7zip a -t7z test.7z ...
0
votes
1answer
42 views

Is it possible to strip the extension before archiving?

I'm not sure about this, but is it possible to save files in an archive under a different name? I'm trying to do this as I'm currently using 7-zip as part of a batch file script to process a bunch of ...
1
vote
1answer
241 views

7zip command to extract with full paths (excluding first folder level)

Using 7zip command line version, I need to extract a .7z file with full paths but excluding the first folder level within the archive. I thought that this command below would work but it still ...
0
votes
0answers
53 views

Is there a consistency check in 7z's self-extract executable?

What I mean is that when you run a self-extracting executable... Does it check the consistency of the files? For example if you use a .exe RAR, it will open a dialog if there is something wrong ...
3
votes
3answers
4k views

What does the percent sign (% and %%) in a batch file argument mean?

I think I'm missing something because I can't seem to find what this means. Example: for /D %%A in (*) do "\7za.exe" u -t7z -m9=LZMA2 "%%A.7z" "%%A" That line was supposed to use a command line ...
0
votes
1answer
135 views

7zip commandline equivalent of these gui settings?

I'm trying to compress an archive using the following GUI settings: 7z, Fastest, LZMA2, Dict 64KB, Word 32, solid block 8mb, cpu threads 8. "C:\Program Files\7-Zip\7z.exe" a -t7z ...
0
votes
2answers
1k views

How to install non Microsoft USB device driver on PC without admin rights?

I am running Win 7x32 secured corporate laptop. My USB audio device has .exe installer file which is not possible to execute because of having no admin rights. Is it possible to embed driver files in ...
0
votes
1answer
73 views

Extracting one file from archive: 7-zip requires decompressing entire archive?

I've noticed that when browsing an archive containing multiple files with 7-zip 9.20 Windows GUI, extracting one file for previewing takes significantly longer with .7z than .rar archives. With .7zips ...
2
votes
2answers
561 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 ...
0
votes
1answer
281 views

How to create a locked (read-only) 7zip archive?

You can create a "locked" RAR archive using WinRar such that the files can't be modified or deleted, and they become readonly without using a password. Is it also possible with 7z format? It is ...
0
votes
1answer
264 views

zip sub folders individually

can anyone help me make a batch file for my problem. i have multiple folders that i want to compress individually. root folder 1 file 1 file 2 ...
3
votes
1answer
3k views

7-zip - how to use command line to include/exclude large list of files

I'm (trying) to develop a program to operate the 7-zip console program (7z.exe) via ShellExecute() and passing it a computer-generated list of files. Now what I want to do is this : I want to pass ...
2
votes
2answers
112 views

What other archive formats save Date Created and Date Accessed?

7-Zip on Windows will save the Date Created and Date Accessed when compressing a .zip file, however it does not do this for its native .7z format. Any Unix-based formats are ineligible. Are there any ...
0
votes
1answer
524 views

Why doesn't 7-zip appear in the contextual menu in Windows Explorer for MATLAB's .mat files after installing MS Office?

I use MATLAB and after installing MS Office 7-zip doesn't appear any more in the contextual menu when trying to zip some .mat files: http://youtu.be/uJvSC4oCes8. How can I solve it?
0
votes
1answer
364 views

7Zip and forfiles - Invalid argument/option - 'a'

I need some help with a script I'm working on. It seems I'm missing something. The command line is as follows: forfiles /P "F:\source_path\" /M *.bak /D -1 /C ""D:\7za\7za a -tzip -mx7 -v40m ...
8
votes
4answers
16k 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 ...
1
vote
0answers
2k views

7-zip command line -p switch not working according to help page [Solution Found]

I want to be able to automate the encryption of the file type .pcapng in a windows batch script. My current problem is that I get an error when extracting the encrypted file saying something along the ...
0
votes
3answers
313 views

How to store complete path using 7z on linux

I am looking for a simple way to backup files that have changed in the last 24 hours and creating a daily 7zip file ( I don't need permssion or users just files ). Using the following command I can ...
0
votes
1answer
270 views

How to create ZIPs with the content of every folder [duplicate]

I have several folders and I need to compress the content of each folder in a separate ZIP file. However, every ZIP should only contain the content of each folder and not the folder itself. The ...
1
vote
2answers
236 views

7zip is incompatible with tar format created by git archive

% git archive --format tar master > archive.tar % file archive.tar archive.tar: POSIX tar archive % tar cf a.tar archive.tar % file a.tar a.tar: POSIX tar archive (GNU) 7zip cannot unpack tar ...
1
vote
1answer
934 views

7zip - compress the contents of each folder in a directory

I basically want to compress each file in each folder, delete the original file and leave the folder uncompressed. I don't want to compress the whole folder, only the contents in it. That, with 7zip ...
1
vote
1answer
321 views

find files with spaces modified in last 60 days and tar.gz in files no bigger then 4gb with date

I maintain a file server. I need to backup files that have changed in a period of time. First i compressed up everything to 4gb files and backed up to dvd. But 7z that I was using 7z a -t7z ...
1
vote
0answers
143 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
votes
3answers
3k views

7z file manager crashed and left temp files behind

So I did a drag&drop extraction from 7z (windows), which creates temporary files (this was on purpose, as I was extracting to a network share.) Unfortunately, 7z crashed during this process and ...
1
vote
2answers
2k views

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 ...
4
votes
3answers
3k views

Recursively unzip files where they reside, then delete the archives

I goofed up a setting on the backup software I use. Normally I would have the files from a network share get loaded into a spare drive, compressed into zip folders, then sent off to the offsite hub. ...
0
votes
3answers
1k views

Extract files with umlaut in 7zip file created under windows to Linux

I want to extract a large backup of my hard drive compressed with 7zip under Windows to my Debian Wheezy installation. I'm using the following command line: 7z x -pmypasswordhere file.7z If there's ...
0
votes
0answers
109 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
1answer
173 views

7zip archive is too large when using -x

I am compressing a dir into a zip, and use several -x switches. 7z a -tzip -x!.\test1.gadget\.git\* -x!.\test1.gadget\.gitignore test1.zip .\test1.gadget\* 7-Zip [64] 9.22 beta Copyright (c) ...
1
vote
1answer
611 views

7z getting an event not found error in command line

I am using 7zip on my centos machine and ziping a file via command line. This is my syntax 7za a -t7z backup.7z public_html\ -mx0 -xr!restricted_area What i'm expecting with this syntax is to ...
0
votes
0answers
194 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 ...
4
votes
1answer
577 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 ...
0
votes
1answer
70 views

Specify archive-to directory in 7z

I'm running 7z a from the command line and wish to specify the directory which the archive .7z file is to be in. I don't see, from the man page, a way to do this (and -o and -w don't do it). Is there ...
0
votes
2answers
1k views

How to open big tar.gz file

I created a big tar.gz file, following this guide. It is a daily backup file. My computer has 3 GB of RAM and is running Windows 7. My biggest archive is 183 GB, containing pictures and documents. ...
0
votes
1answer
398 views

Is it possible to recursively list zip file contents with 7 zip without extracting

Similar to this question I have a very large zip file which contains other zip files, folders, and files. I want to use 7-zip to extract a list of file names from it, recursing into subfolders and zip ...
0
votes
5answers
781 views

Automatically extracting text files via commandline and combining them into a single text file

In-Depth Explanation of Problem: I'm trying to automate a process on my computer and having some difficulty. Each day, I'm emailed a zip file that contains a txt file. I have a script in place that ...
1
vote
1answer
190 views

How to archive using the shell extension and still exclude files with 7zip?

How can I exclude files from archiving in 7-zip's "Add to Archive" dialogue? I know how to do this from the command line, but it doesn't seem possible from the "Add to Archive" dialogue. I thought ...
2
votes
0answers
152 views

Difference between lzip, 7z and zipx [closed]

I would like to know what is the difference between the algorithms used in these three compression schemes. I found that all three of them are based on LZMA. But I would like to know what makes them ...
1
vote
1answer
274 views

How do I use 7-zip AND from SPECIFIC folder backup only the config.xml files

I have a Jenkins Server which I want to Backup using 7-zip. I want to backup the full C:\JENKINS with all the sub directories with only one exception. The exception is that from the JOBS folder I ...
4
votes
1answer
2k views

how to “preserve internal directory structure” when unzipping on windows?

I'm tring to build boost, in instructions I've read When you extract the library from its zip file, you must preserve its internal directory structure (for example by using the -d option when ...
0
votes
1answer
131 views

7zip update split archive [duplicate]

I am using the gui So I have a split archive in format archive.7z.01 archive.7z.02 archive.7z.03 I want to update them to match the folder being compressed but I get the error "The file exists"
0
votes
2answers
5k views

7-Zip not working from the DOS prompt or command line?

I have "7-Zip" installed and it works from Windows, but not from the DOS prompt or commandLine: 7z e max_logs_can_messages.tgz Yields: '7z' is not recognized as an internal or external command, ...
1
vote
2answers
928 views

Can I get the black and white 7zip filetype icons back?

I've been using 7-zip for a long time. Any archive that 7-zip recognizes was given a black and white [7z] icon. I just switched from Win7 32 bit to Win7 64 bit, and when I reinstalled 7-zip all of ...
0
votes
0answers
509 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 ...
2
votes
2answers
2k views

How to zip multiple folders in 7zip?

I have a folder, lets say, MAIN. Inside this folder, there are many folders(say f1,f2,f2...) which has subfolders and files in them. Now I need to zip these folders(f1,f2,f3...) and their contents ...