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
1
vote
0answers
26 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
0answers
7 views

How to create a batch file for 7Zip to create individual folder

How to create a batch file for 7Zip to create individual folder I have some study folder with files. eg- Source folder = E:\Learning\Group\Material\ Folder Name = Tamil Files=TLesson1.mp4, TLesson2....
0
votes
0answers
31 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
0answers
88 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:/...
0
votes
1answer
128 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
1answer
153 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
vote
1answer
716 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
1answer
3k 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
0answers
94 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
vote
2answers
1k 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 ...
1
vote
0answers
30 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
2answers
8k 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
2answers
672 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 ...
25
votes
1answer
22k 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 ...
1
vote
1answer
708 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
1answer
8k 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 ...
2
votes
2answers
1k 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 ...
1
vote
1answer
545 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
1answer
103 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"
2
votes
1answer
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 ...
0
votes
2answers
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 ...
1
vote
1answer
82 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:\...
4
votes
1answer
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 ...