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

learn more… | top users | synonyms (1)

0
votes
1answer
3k views

Incorrect parameter error when using 7-zip from the command line in Windows

I am running the following command: 7z.exe a -t7z -m9=LZMA2 test.7z test.txt However, I get this error: System error:The parameter is incorrect. The error only occurs if I use the -m9=LZMA2 or ...
34
votes
5answers
3k views

Why is a 7zipped file larger than the raw file? [duplicate]

Possible Duplicate: Why doesn't ZIP Compression compress anything? I tried 7zipping an .exe file but it actually became larger. Is this the expected result?
3
votes
2answers
4k views

Is it a requirement to concatenate multiple 7zip files in Linux before being able to uncompress them?

I generally use 7zip when on Windows and uncompressing multiple 7zip files. I have come across several articles noting that I need to concatenate multiple 7zip files to a single zip archive if I wish ...
0
votes
1answer
2k views

Error when extracting a 7zip archive to a specific output directory in Linux

I have a 7zip archive that I need to extract to another directory as opposed to the directory that the archive is located in however I get the error "Error:Incorrect command line". The command I am ...
0
votes
1answer
192 views

How to fail 7Zip when no files were added?

I use 7Zip in batch process under Windows OS. If I use "a" command (to add files to new archive file that doesn't exist) 7Zip still succeeds even if the file I explicitly specified to be added ...
3
votes
1answer
6k views

Unzip .rar from command-line with 7-zip

On windows command-line I can extract archives like this: 7za e somefile.zip I know 7zip supports .rar in the gui but can it be done in commandline mode? Thanks
2
votes
1answer
5k views

Identifiying a zip file that is not really a zip file

I have several files that a 3rd party program generated that have a .zip extension, however neither windows nor 7zip can extract it. In 7zip it does show me the file name of the uncompressed file ...
1
vote
0answers
89 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.
0
votes
1answer
232 views

options in compression with 7z

I want to create an archive, through a program I am writing in C#, and later decompress it. The archive will contain folders from completely different locations, grouped on 3 major subdivisions. ...
3
votes
3answers
348 views

Would a 7z archive and a copy of the MBR be a complete disk backup?

Consider a disk with a single NTFS C: partition and Windows installed on it. If I were to make a 7z archive of the partition, and grab the MBR via some tool (then store it in a file), would this be a ...
1
vote
2answers
653 views

Is there a way to determine the original size or file count of a 7-zip archive?

I know that when I compress an archive with the 7za utility, it gives me stats like the number of files processed and the amount of bytes processed (the original size of the data). Is it possible, ...
0
votes
2answers
385 views

How do I compress a directory?

Hey guys I was wondering how would I gzip 7z tar or just regular zip a directory like this /var/Backups/Tones regular gzip won't do it because Tones is a directory and this site ss64.com/bash doesn't ...
2
votes
1answer
1k views

Create a 7-Zip including only specified folder and excluding certain extensions. No scanning

I'm trying to create a 7-Zip archive that would compress a certain folder (only specified one!) while excluding a certain file extension. I've come up with this: "PATH-TO-7Z.EXE" a archive.7z ...
1
vote
3answers
6k views

windows batch file 7 zip archive files using date range

I am currently running a batch file that backs up all my files created or modified within the past 24 hours using an old version of Winzip. I use 7 zip for a lot of archiving and would like to be ...
1
vote
1answer
2k views

Force Applications to use Teracopy

I use Teracopy everywhere I really like it and have found it to be stabler/faster/better than vanilla copy. However when using certain applications, namely 7zip for one, (I am certain there are ...
0
votes
1answer
690 views

Why my multiparted .tar unpacs just partly? (missing files)

I have 25 .tar files like: filename.tar.001 - filename.tar.025 When I want to unpack them with cat myarchive.tar.* | tar xvf - it does, but missing files: whole .tar is 1,2 GB, but unpacked files ...
2
votes
1answer
193 views

What does the 7 stand for in 7-Zip (.7z )? [closed]

Is there any significance the number 7 in 7-Zip? I know it corresponds to the formating of the compression method and all of it's implied features, but what does the 7 mean?
7
votes
2answers
4k views

Multithreaded support in 7za

(I posted this first on serverfault, but then I realized it probably belongs here.) I'm trying compress a very large text file using 7za (p7zip) 9.20. The -mmt option doesn't seem to have any effect. ...
1
vote
3answers
12k 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 ...
16
votes
2answers
42k views

Different compression methods in 7zip: Which is best suited for what task?

So there are different compression methods in 7zip. Which method is best suited for what task? For example: One difference between LZMA and LZMA2 is I can choose all my cpu cores, whereas in LZMA 2 ...
0
votes
2answers
1k views

cmd: include date and time to filename

How can I get a filename YYYY.MM.DD_HH.MM.SS.7z? It should work with any regional settings! The question is not duplicating 7zip CMD: Add current date to archive & include only last modified ...
9
votes
3answers
10k views

Extracting msi files using Linux

Related: How to extract files from MSI package? To extract the contents of a MSI installer using Linux, I can either use msiexec with wine or use 7zip. However, the latter does not preserve ...
3
votes
2answers
344 views

How to print dir tree of a 7zip archive?

Before extract archive.7z, I always check what in side: $ 7z l archive.7z ...SKIP... 2010-01-01 00:00:00 ..... 25856 7367 jsloader/resource/gre/modules/source-editor-textarea.jsm ...
0
votes
2answers
297 views

Seeking a GUI archiver with the ability to exclude files/folders with tickboxes

I've been searching for a GUI tool to create zip, 7-zip or tar archives that will allow me to include and exclude files and folders using a GUI. The dialog during archive creation should look ...
5
votes
2answers
993 views

Can the “copying” step from 7zip be sped up?

I use 7Zip to extract compressed files. I am currently working with a compressed 7GB RAR file that expands to 55.6GB. I understand the time it takes to unzip the file, but then I have to sit and ...
4
votes
1answer
703 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 ...
0
votes
1answer
514 views

Extracting file using 7-Zip is taking too much time

I am trying to extract a ZIP folder using 7-Zip from the command line: 7z x "%BackupFileDestination%" -o"%ExtractDestinationDir%" It is taking too much time to do so. It is even hanging on a few ...
4
votes
1answer
2k views

7-Zip command line to zip all the content of a folder (without zipping the folder itself) [duplicate]

Possible Duplicate: Create an archive from a directory without the directory name being added to the archive I have a folder that I want to zip completely: MyFolder | |--- ...
2
votes
1answer
2k views

Batch Extract with 7Zip

I receive a single zip folder with multiple zip folders inside it. Each individual zip folder contains one file. Is there a way to extract all of them in one step?
1
vote
2answers
663 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 ...
0
votes
1answer
472 views

7-zip archive with hard links?

I see that tar respects hard links $ ln clonezilla.iso test.iso $ tar cfvvJ archive.tar.xz *.iso -rw-r--r-- Steven 111149056 2012-03-25 07:34 clonezilla.iso hrw-r--r-- Steven 0 2012-03-25 ...
1
vote
1answer
6k views

How do I use 7-zip to add a folder to an archive, including only files with certain extensions?

I know that the 7-zip command to add a folder to an archive is, e.g.: "c:\program files\7-zip\7z" a testArchive.zip c:\myFolder And the command to add only files of a certain extension to an ...
4
votes
3answers
11k 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 ...
14
votes
5answers
25k views

Extract 7z files with standard linux tools?

I know that you can extract .7z files with 7-zip. Is there another standard linux program that can do this? Maybe one of these tar bzip2 xz gzip I will add that bsdtar can do this, but is not ...
1
vote
3answers
835 views

Zip Utilities with Queue Functionality [closed]

Are there any programs similar to 7zip or PeaZip that support a "queue" functionality? I have multiple large files to unzip, and I would like to add them all to one single queue and have them ...
0
votes
2answers
682 views

.zip file created on Mac giving error in Windows 7 upon extracting

My friend compressed lots of photos into a zip archive using a MacBook, and uploaded it to Dropbox. I downloaded the zip and when I try to extract using WinRAR it gives this error, but extracts most ...
0
votes
2answers
919 views

Passing a powershell variable as output directory in 7zip

I need to execute something like 7za e $file_path -oC:\Destination inside a powershell script, but substitute destination folder (C:\Destination) with a variable. Some like: 7za e $file_path ...
3
votes
3answers
6k views

What parameters are ok to pass to 7-zip .exe file creation while using the GUI

What parameters are ok to pass to the create archive wizard , in the 7-zip GUI, when you are creating a self extracting archive? The 7-Zip GUI has a field that allows you to type in multiple ...
0
votes
2answers
2k views

How to recursively extract all .tar and .tgz file zipped in a .tgz file using 7zip command line version

I'm using 7zip cmd line version in my app (written in Python on Win 7 box) to extract .tgz files. Although I'm using the -r switch, the .tar and .tgz subdirectories are not extracted. Can someone tell ...
0
votes
1answer
2k views

How to extract a incomplete 7zip file?

I almost(98%) downloaded a file.7z which contains multiple files. The missing part is in the middle of file.7z. So I only get 50% of all contained files when extracted with 7zip. How can I extract it ...
1
vote
1answer
684 views

Detecting image duplicates in 7-Zip archives on Windows?

I have a large image gallery, and a few years later I realized that I get more and more duplicates. :) Basically, my gallery consists of 7-Zip archives containing the image sets. I saw there are some ...
0
votes
0answers
926 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 ...
2
votes
1answer
9k 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 ...
7
votes
3answers
5k views

How can I control the order of files in a ZIP archive?

There are times when it is necessary for the files in a ZIP archive to be in a specific order (for example, I'm currently creating EPUBs, which require that the first entry in the ZIP be the mimetype ...
1
vote
1answer
51 views

Extract files to a different folder

On a Windows XP machine, I have a zip file located on "c:\temp\mydata\okidata.zip". Using 7-Zip application, I would like to write a batch script and extract the file silently to the following ...
2
votes
1answer
5k views

How to extract 7z zip and have correct directory strucuture?

XXXhostXXX:temp XXXuserXXX$ ls -a dir1/ . .. a.txt b.txt XXXhostXXX:temp XXXuserXXX$ pwd /Users/XXXuserXXX/temp XXXhostXXX:temp XXXuserXXX$ 7z a -t7z dir1 dir1 7-Zip [64] 9.20 Copyright (c) ...
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: ...
5
votes
2answers
768 views

How to merge .001, .002 … files from multiple drives?

Is there a way to merge multiple part files (.0001, .0002, etc.) from multiple drives? I have three part files of 5 GB each, but I have only 20 GB on the hard drive. I would need another 10 GB to ...
0
votes
2answers
5k views

Extract all Zip's in a directory (incl. subfolders) with a .bat file or dos command

I want to extract all .zip's and .rars in a folder and its children The structure is like this: MAIN_FOLDER -A folder - a.zip -a.rar -B folder - b.zip ...
2
votes
2answers
1k views

7zip to archive multiple files across many folders

I have a folder called lessons and 34 nested lessons in this folder course\ lesson1\updatedfile.html lesson2\updatedfile.html ... lesson34\updatedfile.html The lessons folder contains just the ...