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

learn more… | top users | synonyms (1)

2
votes
2answers
226 views

Corrupt PNG files after unzipping

I downloaded 7-zip for Windows to extract .png files from .deb archives, but they turn out corrupted, showing a black background instead. Is there an alternative, working program for unzipping .deb ...
2
votes
0answers
683 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 ...
2
votes
2answers
585 views

7zip multiple files into multiple 7z files

I have a bunch of files in a directory and want to 7zip each one into its own 7zip archive So, for example, 1.csv, 2.csv, 3.csv will end up as 1.7z, 2.7z, 3.7z Is this possible with a .bat file in ...
4
votes
2answers
819 views

Extract archive here, autodetect subfolder

I use 7-Zip under Windows 7 to extract all kind of archives. The ever-running problem is that there is not a single way to handle subfolders. Some people create their archives like this (let's call ...
0
votes
0answers
248 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 ...
1
vote
1answer
285 views

Using 7-Zip from command line - name zip file with directory name

I know this has to be so easy, but I do not know how to do it. Any help would be appreciated. I want to name zip files with the directory name. Say I have a directory "Zip1" with files "Doc1.txt" ...
4
votes
1answer
3k views

7-Zip many files from different folders?

I would like to add a large number of files with different names from different folders to a single 7-Zip archive using 7za.exe. This should be simple, but it turned out to be a major pain. I created ...
2
votes
3answers
2k views

Why does a zip file appear larger than the source file especially when it is text?

I have a text file that is 19 bytes in size and having compressed the file using zip and 7zip, it appears to be larger. I had a read of the question on Why is a 7zipped file larger than the raw file? ...
2
votes
1answer
900 views

Is it necessary to test the integrity of an archive if it returns “Everything is okay” when running 7zip via the command line?

Each time I compress a file via the command line 7zip is nice enough to return "Everything is okay". I know that I can test the integrity of an archive if I run the command 7z t archive.zip but is it ...
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
198 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 ...
4
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
94 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
238 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
361 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
666 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
389 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
722 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
198 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
5k 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 ...
17
votes
2answers
44k 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
11k 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
362 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
301 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 ...
6
votes
2answers
1k 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
720 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
527 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 ...
5
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
675 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
486 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
868 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
710 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
961 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
698 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 ...