Questions tagged [7zip]

"7z" or "7-Zip" may refer either to the open-source 7z compression container format or to the file name of the executable program of the same name that is the flagship implementation of the compression format. Both are GPL-licensed and under active development.

"7z" or "7-Zip" may refer either to the open-source 7z compression container format or to the file name of the executable program of the same name that is the flagship implementation of the compression format. Both are GPL-licensed and under active development.

The 7z format is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The LZMA SDK 4.62 was placed in the public domain in December 2008. The latest stable version of 7-Zip and LZMA SDK is version 18.05. The MIME type of 7z is application/x-7z-compressed.

The 7-Zip program is an open source file archiver. 7-Zip operates with the 7z archive format, but can read and write several other archive formats. The program can be used from a command line interface, graphical user interface, or with Microsoft Windows shell integration. 7-Zip's development began in 1999, and it is actively developed by Igor Pavlov. It is related to a cross-platform port, p7zip. 7-Zip is free software distributed under the GNU Lesser General Public License (LGPL). It was the winner of the SourceForge.net 2007 community choice awards for "Technical Design" and for "Best Project".

7z has an open architecture, so it can support any new compression methods. Now the following methods are integrated to 7z:

  1. LZMA: Improved and optimized version of LZ77 algorithm
  2. LZMA2: Improved version of LZMA
  3. PPMD: Dmitry Shkarin's PPMdH with small changes
  4. BCJ: Converter for 32-bit x86 executables
  5. BCJ2: Converter for 32-bit x86 executables
  6. BZip2: Standard BWT algorithm
  7. Deflate: Standard LZ77-based algorithm
1441 questions
-1
votes
1 answer

Compress and copy same time to another server - slow

i have a big problem. I need tranfer a lot of files by a server to another server, but the second server isnt a local server. If i tranfer by a local server i cant 100mbs but if i send for another server out the speed is 2mbs. my network is 1gbs. I…
-1
votes
1 answer

How do I execute 7za list command programmatically and output the results to a file?

With origional testing in command prompt, I was able to output the results of a 7za list command, with findstr, to a text file and I needed this same behavior in my application. Executing 7za.exe directly with other commands like findstr or a…
Andrew Grinder
  • 585
  • 5
  • 21
-1
votes
1 answer

7-Zip files in all folders (multiple archives)

How do I make 7-Zip recursively archive all files in a folder for all parent folders? Currently I have this: for /d %%X in (C:\Users\mikejoh\Desktop\Modst\Ziptest\*) do "c:\Program Files\7-Zip\7z.exe" a "%%X\*.7z" "%%X\win\*" But that only takes…
Metal Mike
  • 89
  • 4
  • 13
-1
votes
3 answers

How to check if 7zip is installed with powershell (My method fails...)

So I'm writing a Powershell script part of which should istall 7zip if it's not installed yet. While writing, I didn't have 7zip on my computer yet, so I was testing the code for Opera web browser (which I obviously had) with this line of…
genau
  • 184
  • 1
  • 5
  • 16
-1
votes
1 answer

Archiving files in directory with 7zip command into single zips

After doing much searching around here, I have managed to put together a batch script that uses 7zip to archive a directory of files. The issue I'm running into is that instead of putting each file into it's own zip, it's archiving the entire folder…
-1
votes
1 answer

Batch file. 7Zip photo folder and name output as job number

1st off I am not very familiar with advanced programming. I have been following examples and trial and erroring things sometimes with not the right result. I was up half the night trying to get this to work and was so close but not quite…
Legg1979
  • 31
  • 7
-1
votes
2 answers

How to create *.7z file in Python?

How to create *.7z file in Python? Please write an small-simple example.
-1
votes
1 answer

Extracting password protected files in a if loop in unix

I am using 7za command to unzip password protected files. Lets consider a scenario, I have one file who's password is a combination of mmyy. dates(mmyy) can be for current month, previous month or previous to previous month. eg 1213 or 1113 or 1013…
Rahul sawant
  • 415
  • 3
  • 6
  • 13
-1
votes
1 answer

How can i archive every 2 files in a folder with 7zip

How can i archive every 2 files in a folder with 7zip. I want 7zip to take the name of the first file for the archive. Is it possible.
-1
votes
1 answer

how to test a .7z archive is password protected from command line?

I'm writing a piece of powershell code to wrap the 7z.exe command line utility. Let's say I have a list of 7z archives and I want to pass the default password to 7z.exe if the archive is password protected and does not pass the password if it's not…
Just a learner
  • 26,690
  • 50
  • 155
  • 234
-1
votes
2 answers

7z extract through command line throws error "cannot allocate required memory"

I am getting this below error when trying to extract SQL Server ISO file. file cab1.cab already exists. Overwrite with 1033_ENU_LP\redist\VisualStudioShell\VSSetup\cab1.cab? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all /…
karthikeayan
  • 4,291
  • 7
  • 37
  • 75
-1
votes
1 answer

Extracting files using SevenZip

im getting exception in this can any one help me? Exception:Unable to cast COM object of type 'System.__ComObject' to interface type 'SevenZip.IInArchive'. This operation failed because the QueryInterface call on the COM component for the interface…
Civa
  • 2,058
  • 2
  • 18
  • 30
-2
votes
1 answer

7zip standalone command line to split a large file

I am using 7zip standalone command line(7za.exe) to split a large file and also using 7zip application(7zFM.exe) when I am using 7zFM.exe to split a file that is 6GB in size with the following parameters a)Archive format :7z b)compression - level =…
-2
votes
1 answer

How do you use the 7z test?

The directory of the file is defined. I want to get the 'test' value using the 'test' command of 7z. foreach $str0 (glob "*.zip"){ my $test = system( "7z t -y $str0"); print $test; } How can I get the '7z test' value? Edit: Do you mean to…
Yeom
  • 37
  • 4
-2
votes
1 answer

Extract files and rename specific file with specific extension using 7zip?

I would like to use 7ZIP to extract files with specific extensions only, and then rename one of them accordingly. Also, i must do this using a batch script (.bat) - No powershell or other methods. I currently set up the following script, on a bat…
Raul Chiarella
  • 518
  • 1
  • 8
  • 25