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
0
votes
1 answer

How to increase portability of 7z.exe

I am working on a program that needs to unzip .zip files. After trying several different methods to do this, the only one I could find that worked for all my needs is 7z.exe. It works great as I'm developing since I can just hardcode the location of…
thnkwthprtls
  • 3,287
  • 11
  • 42
  • 63
0
votes
2 answers

How to create several zip folders (function) from my output?

I am trying to zip all folders I find in my folder called services. I use Get-Childitem to find these folders and I want to add the function after the pipeline, but it doesn't work out the way I want. The zip file should have the same name as the…
RayofCommand
  • 4,054
  • 17
  • 56
  • 92
0
votes
1 answer

7z decode file that create by System.IO.Compression.GZipStream failed

A guy write a program in C#, encode it with System.IO.Compression.GZipStream, then does base64 encode it, then save it into XML file. I grab the Node text data from that XML file and try to decode it cat custom-config | base64 --decode >…
Morty
  • 746
  • 5
  • 12
0
votes
1 answer

7zip: errors, problems, and questions

i am trying to run a batch file that extracts only .jar files with 7z.exe here is my code: set location=%cd% set filename=%location%\outputfolder set unzip=%location\resources cd %unzip% 7z e -o%filename% -ir!*.jar -y "%filename%\*.zip" but it…
user2669763
  • 19
  • 1
  • 3
0
votes
1 answer

Batch Make 100MB Archive max with all files contained into a folder (Recursive)

I am looking to create a program that would zip (using 7zip) all files contained into the folder (Recursivly) into an archive until the archive hits 100MB. Whenever it does, it would join in the .csv file associated with the file, delete it, create…
Quardah
  • 183
  • 1
  • 4
  • 14
0
votes
1 answer

Cannot open Eclipse after opening once? (Error included)

After opening Eclipse once and without updating, it does not open again. It spits out the error "The Eclipse executable launcher was unable to locate its companion shared library." and does not open. I have Windows and used 7-Zip to unzip the file…
The Boss
  • 29
  • 1
  • 8
0
votes
2 answers

How to compress PDF file using sevenzipsharper in c#?

I can compress a directory using the following code: string dll = @"D:\7z.dll"; string source = @"D:\sample"; string output = @"D:\My7zipped.7z"; SevenZipBase.SetLibraryPath(dll); SevenZipCompressor compressor = new…
ASHOK A
  • 1,966
  • 3
  • 17
  • 31
0
votes
1 answer

How can i specify string searchPattern using 7z compressor?

This is the methos im using for compress files: private void Compressions(string zipFile,string sources) { try { string zipFileName = zipFile; string source = sources; …
DanielVest
  • 823
  • 4
  • 20
  • 39
0
votes
1 answer

SSIS: Catch Invalid Zip files

I am extracting zip files using 7zip in SSIS. Problem is that the source might contain invalid zip files. Is there a way to catch invalid zip files in SSIS so it will skip the file and process with the next?
user717316
  • 99
  • 1
  • 4
  • 12
0
votes
1 answer

OpenCV-Cant extract the main file

I downloaded openCV2.4.0 on windows prof 64bit and each time i run .exe file it opens 7zip extractor and then an error message that cannot open OpenCV-2.4.6.0.exe as archive. Any ideas?
gpelelis
  • 138
  • 6
0
votes
1 answer

7z executable in SSIS

How do I implement an execute process task to extract all files in a directory using 7z. exe in SSIS ? I am trying to unzip all files in a certain directory using 7z executable but it gives a process error code 2.
user717316
  • 99
  • 1
  • 4
  • 12
0
votes
1 answer

extract 7z archive on linux web hosting

Would anyone know how to extract 7z archive on linux web hosting. I am currently using the code below to unzip .zip files, but this does not work for .7z // Unzip File $zip = new ZipArchive; if ($zip->open($userPath . 'import.7z') === TRUE)…
Santosh Pillai
  • 1,311
  • 1
  • 20
  • 31
0
votes
1 answer

How do I get the 7-Zip exit code from the console output?

I am writing a c# application that uses 7-zip to compress a directory. 7-Zip returns an exit status after zipping up a file. In the console window all I see is Everything is Ok which equates to an exit code of 0. But does anybody know if there…
swolff1978
  • 1,845
  • 7
  • 28
  • 44
0
votes
1 answer

how to import/export dll and use its function

I am developing a project. I want to include a particular function from 7zip software to decompress data. Its a kinda exporting a particular function from 7zip software to my project. Should I do using DLL import and export or is there any other…
kiddo
  • 1,596
  • 7
  • 31
  • 60
0
votes
1 answer

Error SevenZipJBinding in dynamic web project

I'm using sevenZipJBinding to uncompress a .tar file in dynamic web project i put their jar in my project and when I run it i get this error: java.lang.NoClassDefFoundError: net/sf/sevenzipjbinding/IInStream at…
khaled Rihane
  • 607
  • 2
  • 7
  • 19