7-Zip is a file compression archiving program

learn more… | top users | synonyms (1)

0
votes
5answers
3k views

How can I overwrite an existing file in 7zip?

I'm trying this: 7za.exe a "C:\Disc.7z" "C:\test" -v20000000b -m0=BCJ -bd But if I already have created the file C:\Disc.7z then 7zip don't compress nothing and sends me this output: System error: ...
1
vote
4answers
3k views

Why should I prefer 7zip over WinZip in Windows environment? [closed]

I know Winzip is not free and 7-zip is free . Other than this is there any reason why I should use 7ZIP over Winzip for compression ? I am using Windows 7 .
0
votes
1answer
1k views

Unpack NSIS executable

I am trying to decompress a NSIS executable. With the GUI version of 7zip I am able to do this and the exe is listed as: Type = Nsis Method = LZMA:25 Solid = + With the command line version 7za I ...
0
votes
2answers
812 views

Is SecureZip compatible with any other ZIP programs?

I put some files into an encrypted archive with Secure Zip (was using a computer at another organization) and emailed them to some people. None of them have Secure Zip (nor do I on any of my own ...
1
vote
2answers
1k views

Synchronizing files using 7zip and the CLI

In the command line, 7zip has the command 'a' to "Add files to archive". But I want to sync the files instead. This is one of the main options in the GUI, but the CLI has disregarded it for some ...
0
votes
1answer
433 views

How to rename and extract all file?

Looking for a .bat to rename and extract all. The folder is d:\EJ\%dd%-%mm%-%yyyy%\ (multiple files) K02699_ej.zip K02702_ej.zip K02703_ej.zip K02704_ej.zip K02705_ej.zip Rename to K02699.zip ...
4
votes
2answers
4k views

How to write error status for command line 7-zip in variable (or, instead, in text file)

I use 7-zip (in my batch files) to pack some directory and send archive by email. When I use some file in this directory at the same time the batch file is running (I start the batch files with Task ...
0
votes
2answers
307 views

Split zip archive containing folders now contains “corrupt” zip archive

I zipped and split two folders with 7zip, so I got File.zip.001 to File.zip.010. I renamed them to Foo.zip.001 to Foo.zip.010, and if I open them now, they only contain a "Foo.zip" file. Upon ...
3
votes
2answers
7k 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
381 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
299 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
333 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
439 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
88 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
1answer
2k 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
305 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
195 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 ...
0
votes
0answers
296 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 ...
2
votes
1answer
3k 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
197 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
604 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
445 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
563 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
214 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
274 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
2k 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
711 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
2k 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 ...
31
votes
5answers
2k 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
3k 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
166 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
4k 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
4k 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
80 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
213 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
298 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
504 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
331 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
971 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
5k 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
1k 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
563 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
180 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?
6
votes
2answers
3k 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
8k 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 ...
12
votes
2answers
32k 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
8k 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 ...