Questions tagged [7za]

Use this tag for questions regarding the 7za/7za.exe variant of the 7-Zip command line application. 7za is a standalone version of 7-Zip, an open source file archiver.

7za

7za is a standalone version of , an open source file archiver.

According to the Command Line Version User's Guide:

"7za.exe (a = alone) is a standalone version of 7-Zip. 7za.exe supports only 7z, lzma, cab, zip, gzip, bzip2, Z and tar formats. 7za.exe doesn't use external modules."

Variant

The 7za variant of the application is a light weight and standalone CLI utility that doesn't need external modules to function unlike 7z its variant brother which is also installed with the 7-Zip product.

Compatibility

Since 7za is standalone, it does not support all archive formats of 7-Zip and may not include newer archive formats so keep this in mind when determining if this is the correct tool for your task.

25 questions
34
votes
1 answer

Comparing 7z.exe and 7za.exe

I understand that 7za.exe supports a smaller number of compression formats, but I was curious what else may be different between the two, other than just that? Having some additional information on these would help me understand some of the…
lit
  • 909
8
votes
2 answers

Batch unzip all zip archives in sub directories; content of each archive extracted to new directory named after the archive

I have a folder with a ton of sub folders, within those subfolders are zipped files. I was wondering how to unzip those files into a folder named after the zip file So for…
4
votes
1 answer

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 a file that contains the paths (7za a out.7z…
mafu
  • 2,855
4
votes
1 answer

Switch for 7zip CLI (7za) to set modified time of extracted files to now?

Right now my server service is calling 7za to extract archive files like this: 7za x "file" -o"output folder" There's problem due to a server compliance Windows cleaning service that purges all files that are older than one hour in the Output…
Luke Vo
  • 1,793
3
votes
2 answers

How do I pipe 7za output directly to psql?

I have a Postgres database dump in a .7z archive. I can extract it and import it with: 7za e dump.7z dump psql -h localhost db_name < dump but I'm just running out of disk space. What is the correct way to pipe the 7za output to psql, so that I…
Liam
  • 3,150
3
votes
1 answer

How can I get dictionary size of 7z archive using comand line?

I've got an 7z archive, I've read manuals but couldn't find how can I get dictionary size of this archive using comandline?
3
votes
1 answer

Extract .7z archive keeping modified dates of extracted folders

I have a .7z archive created with 7zip, and I can see the contents, including the folders with their modified dates intact. When I extract the archive however, the newly extracted folders all have the created and modified dates set to the time and…
Fetchez la vache
  • 129
  • 1
  • 1
  • 4
2
votes
1 answer

Create an archieve with current date and time in file name using 7z command line

Today I lost my whole Far Cry 3 save game suddenly. So now I want to backup it's save game folder automatically on a certain period of time using windows task scheduling. I want to include date and time in archive file name. Here is my…
shashwat
  • 244
2
votes
0 answers

create zip format whose AES password is UTF international letters

for reason beyond me we want to create zip format encrypted with AES-256, whose password can be International, on Linux. If we use 7-zip, I found it works when creating 7z file, ie the following works: 7za a -t7z -p密码 test.7z ok.txt However, the…
John
  • 123
2
votes
0 answers

Is it possible to unzip in parallel with AES-256 encryption?

I compressed and encrypted (AES256) a folder with millions of JSONs using (in Ubuntu): 7za a -tzip -p -mem=AES256 json.zip json/ The compression seems to have gone fast, 4 hours or so. Now, I am decompressing/unencrypting the json.zip: 7za x…
toto_tico
  • 601
2
votes
0 answers

7-ZIP How to extract a particular file present in a nested zipped file

I have a Zipped file which contains multiple Zipped file(logs of different servers). I have to extract a file(only one copy) named "diagnostics.xml" which is present in each of the zipped files. I am using the below command. Tried multiple times but…
2
votes
1 answer

Why do some (but not all) zip-Files greater than ~3.7GB fail to extract

I am dealing with a lot of zip-files (DCP Films for a Film-Festival) between 4GB and 40GB that are sent to me by various individuals that use various programs to compress the folder that they are sending. There are usually 5-10 files per folder…
1
vote
1 answer

Use 7z to backup each sub-directory to a separate file

My file structure is: c:\csdata\folder1 c:\csdata\folder2 c:\csdata\folder3 etc I'm trying to use 7z to backup all folders in csdata to their own archive to a temp folder (C:\butemp). Here' what I have so far: For /D %%i in (C:\csdata\*.*) DO 7za a…
1
vote
1 answer

Let 7Zip install in same directory without subdirectory

When using 7Zip to extract a zip file, it always creates a subdirectory I want to avoid to create. The zip file: C:\Test.zip The content files in zip file: `ReadMe.txt` The Commandline: x "C:\Test.zip" -o"C:\" -y The…
Nasenbaer
  • 598
1
vote
1 answer

Combined decryption and unzipping of a file

I have an encrypted file like file.zip.gpg. Decryption is done using gpg --output file.zip --decrypt file.zip.gpg and unzipping the archive contents using 7z(a) x file.zip afterwards. The first command obviously creates a (temporary) file. I would…
1
2