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.

Filter by
Sorted by
Tagged with
2 votes
0 answers
46 views

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:...
  • 123
0 votes
1 answer
34 views

Is it possible to disable "list file" feature of 7-zip?

We need to 7zip files whose filename starts with "@", but the following command would fail: 7za a -tzip -- a.zip @abc.com because 7zip has "list file" feature (https://sevenzip....
  • 123
3 votes
0 answers
145 views

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 ...
  • 581
1 vote
0 answers
161 views

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 ...
0 votes
0 answers
164 views

Can I start extracting a 7z file while downloading?

I have a very big 7z file that I am downloading. Extracting these kind of files also take a lot of time for me. Is it possible to start extracting them while still downloading? Like you can do with ...
1 vote
0 answers
154 views

Is there any way to recover data from a corrupt 7z multi-volume archive?

I have a large 7z archive which was split into ~1000 100mb volumes. One of the volumes (.004) was not completely copied and is only 55/100mb in size. All other volumes are intact, I've reviewed https:/...
  • 11
0 votes
1 answer
638 views

How do I create seperate 7z files for each selected file/directory in 7zip?

Long time lurker, first time poster. I've looked around this site, I've googled, I've experimented. And, while I'm very, very close to where I want to go, there's one last hurdle I can't seem to get ...
3 votes
1 answer
392 views

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 ...
  • 1,393
1 vote
1 answer
2k views

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 ...
2 votes
1 answer
5k views

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 ...
0 votes
0 answers
103 views

Equivalent 7za command for tar --force-local, -M, --file

Whats the correct replacement for the following cygwin command? tar cvf FRT_RTAC_OtherLogs.tar --force-local FRT_*.log I'm trying to replace it with: 7za a FRT_RTAC_OtherLogs.tar FRT_*.log I'm ...
  • 1
1 vote
2 answers
2k views

Do a compression dry run (i.e., no file output)

Is there any way to do a dry run compression to RAR or 7-Zip format? (Command line is fine.) What I'd like to get is an accurate compressed size estimate. I tried to find an option for it in WinRAR ...
  • 115
1 vote
0 answers
35 views

Getting mmap() error when extracting 7z files

Every time I run 7z x test.7z Or any other command using 7z I get Can't load '/usr/lib/p7zip/7z.dll' (dlopen(/usr/lib/p7zip/7z.so, 6): no suitable image found. Did find: /usr/lib/p7zip/7z.so: mmap()...
7 votes
2 answers
10k views

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 example: C:\Archives\...
1 vote
2 answers
916 views

7za: Reask password if wrong

I'm trying to extract a single file via a bash script with 7zip from a big container. Command: 7za e archive.zip singlefilename If the password is wrong 7zip creates an empty file called ...
30 votes
1 answer
26k views

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 ...
  • 789
2 votes
1 answer
866 views

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?
2 votes
1 answer
9k views

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 ...
3 votes
2 answers
2k views

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 ...
  • 2,800
1 vote
1 answer
552 views

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

exclude ~$ names from archiving by 7za

Im trying exclude some temp files from archive, but -x!*\~$* not working. Can you fix me, please? Full command, which I use: 7za a -ssw -mx9 -xr!?git\* -x!*\~$* "...\asdasd.7z" "C:\...\folder"
  • 3
2 votes
1 answer
9k views

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 ...
  • 244
0 votes
2 answers
1k views

7za.exe 9.20 cannot create archive with non english letters filename (utf-8)

I'm struggling to have 7za.exe create an archive including non latin characters. The encoding is utf-8, characters are cyrillic. I have a folder with the 4 files: 7za.exe privet.txt Кириллица.txt ...
  • 135
1 vote
1 answer
93 views

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:\...
  • 598
4 votes
1 answer
5k 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,845