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
1answer
27 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
169 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 ...
0
votes
0answers
65 views

performance when appending to a .7z archive

i have several large (mostly text) files that i want to compress files are stored in dumps in subdirectories named after the date the dump was taken some of these files are single file archives (...
2
votes
0answers
2k 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
89 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
716 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()...
5
votes
2answers
6k 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
480 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 ...
18
votes
1answer
17k 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
547 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
6k 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
542 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
102 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
8k 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
81 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 ...