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
2 answers

How can i create an accurate output buffer in C++ for 7zip command line output?

I originally used GetFileSize() and then found out that is not the correct way to go. Please give me some suggestions.
zeroshi
  • 129
  • 1
  • 5
0
votes
1 answer

Reading archive using 7-zip

I'm trying to find a way to read the contents/ file names of a zipped file, unzip the files and then create a text file with a list of all the files unzipped. Most of that isn't a problem but reading and using the files in an archive is proving to…
Lex Eichner
  • 1,056
  • 3
  • 10
  • 35
0
votes
2 answers

Call .bat file within another .bat with parameters

I need to upload zip files to an FTP server. My first file looks like this: sqlcmd -S .\SQLEXPRESS -U -P -i c:\sql_script.sql 7za a -tzip %~dp0\Archive\Backup_daily_full.zip *.bak -v100m For uploading a single file I created…
Lexozz
  • 15
  • 1
0
votes
1 answer

SSIS Execute Process Task Can't Find executable

I am using the 7zip standalone .exe to unzip a file. I am using the Execute Process task for this. I have tested this over and over again on multiple machines and I know it works (at least in debug mode/visual studio). I have uploaded this package…
misterManager
  • 1,174
  • 4
  • 12
  • 33
0
votes
1 answer

Remove extension from filename

In folder1 I have a list of files: file1.exe ahahdf.exe ahdfkqkq.exe I want to run a script and have it create the following files in folder2: file1.zip ahahdf.zip ahdfkqkq.zip My attempt: for %%f in (*.*) do "c:\program files\7-zip\7z.exe" a…
0
votes
3 answers

Git as a repo that doesn't have version control?

Okay, here's a weird one! I have this nifty little 32gig thumbdrive that I keep in my wallet that contains all the latest of EVERY file I need to go about life on a computer. It contains all my BASH command references, everything from rubiks cube…
Parad0x13
  • 2,007
  • 3
  • 23
  • 38
0
votes
1 answer

Problems with batch script zip file to ftp

I am having problems with a batch script that should zip some pdf files and upload them to a FTP server. My script looks like this: @echo off set d=%date:~0,2%%date:~3,2%%date:~6,4% set d=%d: =_% set t=%time:~0,2%%time:~3,2%%time:~6,2% set t=%t:…
0
votes
1 answer

Is there a Android Port for the 7zip library?

I am thinking of porting it, if there isn't one already available. Google search yielded one result, but that port was incomplete and did not compile either... If there is an already existing android port of this library, then i do not want to…
wlan0
  • 190
  • 1
  • 11
0
votes
1 answer

Extract files using 7z with vb2010 to %temp%

This is one of the revisions that i have tried. I couldn't quite figure out the 7zipsharp thing. Dim Arg1 As String = "x" Dim Zip As String = "apps\dat\sb.7z" Dim path As String = "-o%TEMP%\Updates\sb" …
NoNo
  • 315
  • 1
  • 4
  • 13
0
votes
1 answer

SMTP attachment of type 7Zip in java not recognized as multi-part?

I am trying to send a 7Zip attachment using SMTP (java mail), even after setting proper multi-part and content type as "application/x-7z-compressed", I see it is not shown as attachment, as below, any suggestions what I could be missing ?
Sandeep
  • 199
  • 1
  • 4
  • 13
0
votes
1 answer

7z zipping directory relatively

I am trying to use 7z to zip a directory so I do C:/7z a -tzip mydirectory/testing.zip mydirectory/testing -o* -r The problem the outputted zip file has for the content the entire directory structure path mydirectory/testing/.... But I want the…
user391986
  • 29,536
  • 39
  • 126
  • 205
0
votes
1 answer

encrypt binary with 7z without filenames?

I am wondering, i like 7z compression but how do i compress data only? i dont want a file in the archive with file info. Just raw data, how can i do this? it would also be nice if i can remove headers too but that isnt necessary.
user34537
0
votes
1 answer

Do something after 7zip extracts

After 7zip extracts a file, How can I make it run a program? The program is in the extracted file. Is there a way that I can add code to do this?
user1513192
  • 1,123
  • 4
  • 17
  • 29
0
votes
2 answers

Batch File to Compress Certain Directories with 7zip?

Just a request for help with batch programming. Need to do periodic backups of certain folders and was wondering how I would achieve that. Goal: To Scroll through a directory and compress certain folders with a certain name. Code Logic: //For all…
Aaron Nguyen
  • 195
  • 1
  • 3
  • 14
0
votes
1 answer

7zip string/stream compression PHP/C? No file name / date store in .7z archive, every byte count

I want compress 1 small file/data, only file size matter. No need file information store, like filename, size, date, etc... If I use rar/7zip/zip as CLI, file information added to archive. It's not good for me. I finding the BEST compression…
Fallen Angel
  • 101
  • 2
  • 4
  • 18