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

learn more… | top users | synonyms (1)

8
votes
3answers
17k views

7-zip cannot open file on double click

I have installed 7-Zip on my machine and associated it with serveral archive file types. When double clicking an archive (so far I have tried .zip, .7z and .bz2 files), a message box pops up telling ...
0
votes
1answer
1k views

pfSense iso.gz doesn't seem to be a compressed iso image

I downloaded the latest pfSense ISO (pfSense-2.0.1-RELEASE-i386.iso.gz) and had 7zip extract it, but it just shows me the disk contents. I cannot extract the actual ISO file to burn it with the boot ...
0
votes
1answer
754 views

Compressing bigger than 1GB files seems not to work

I tried my best to compress some videos, about 1.4GB each. I tried to compress them separately, "tarring" (using tar) them and then compress, everything. I'm on OS X Lion and I did try the ...
0
votes
2answers
3k views

How to extract and erase the original compressed file on Windows 7?

I wonder whether there is an extractor tool that as well as extract the file contents, erase the original compressed file. Thank you.
2
votes
0answers
788 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 ...
0
votes
1answer
107 views

7Zip add string to zip name

I have a 7zip command line process that zips by date and its works well. The command creates a zip file with date IE 20121019.zip. However Id like to add a string to the file name. for example ...
2
votes
2answers
4k views

How do I add files from a directory to a .zip-File using the 7zip command line?

I am using the 7zip command line to zip-up files. How can I add all files and subdirectorys from a folder to a zip file (.jar archive file)? I used: 7zip.exe a -t7z file.zip C:\folder Thank you.
1
vote
1answer
448 views

7-Zip: Create a zip file from a subdirectory, with the same name as the subdirectory itself

I have a unique situation where I need the following folder structure (Windows) X:\LOGS\PRIMARY\YEARMONTHDAY e.g., X:\LOGS\HS\20121010 Folders are created every morning. Essentially I'd like to ...
3
votes
1answer
273 views

Cygwin creating multiple links to files inside tar?

I'm trying to create a .tar file in Cygwin: find . > tmpfilelist tar -cf tmp.tar -T tmpfilelist but when I open tmp.tar in Windows with 7-Zip there are four instances of each file: Name ...
1
vote
0answers
748 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 ...
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 ...
2
votes
2answers
334 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
882 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
884 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 ...
5
votes
2answers
1k 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
380 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
317 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
4k 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 ...
3
votes
3answers
5k 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
1k 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
6k 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 -m9=...
34
votes
5answers
7k 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?
4
votes
2answers
6k 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 ...
1
vote
1answer
5k 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
289 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 doesn'...
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?
2
votes
1answer
8k 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
140 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
323 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
492 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
1k 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
504 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
2k 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 "C:\...
2
votes
3answers
10k 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
3k 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 more,...
0
votes
1answer
970 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
245 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?
11
votes
2answers
9k 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
5answers
23k 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 ...
31
votes
2answers
78k 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
2k 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 ...
12
votes
3answers
18k 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 ...
4
votes
2answers
524 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
375 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 ...
5
votes
1answer
1k 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
864 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 ...
10
votes
1answer
8k 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 | |--- ...
3
votes
1answer
3k 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?
2
votes
2answers
892 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 ...