Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
43 views

7za - Unzip scans the whole Source File directory

I am using 7zip to unzip 7z files. This is the command I am executing. [test@prabhakar ~/7za-test]$ time /usr/libexec/p7zip/7za x -y '/rvmedia/datagen/job/n150000/units_200/FILE000100_PART000100.txt....
0
votes
0answers
46 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 ...
0
votes
1answer
222 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
21 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()...
4
votes
2answers
3k 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\...
0
votes
2answers
201 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 ...
16
votes
1answer
10k 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
317 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?
1
vote
1answer
3k 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
698 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
430 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
96 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
775 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
76 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
4k 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 ...