2022 Developer Survey is open! Take survey.

Questions tagged [7-zip]

7-Zip is an open source file compression and archiving application

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Why does 7za want to "replace the existing file" (unpacked folder structure wrong)?

Ok, so I want to unpack an archive using 7za; I'm in a MINGW64 shell of MSYS2 on Windows 10. So, I first open a new, empty directory: $ mkdir temp $ cd temp/ Let's make sure - is this directory ...
user avatar
  • 776
0 votes
0 answers
24 views

7zip in bash script: create encrypted archive, but specify password in file instead of command line?

I can compress a 7zip archive with encryption like this: 7z a -pSECRET example.7z *.doc But in this case I specify the password (SECRET) literally on the command line. Is it also possible to specify ...
user avatar
0 votes
1 answer
29 views

7za method inconsistency CentOS

If I set LZMA2 I get LZMA and vice versa! What? CentOS9 $ 7za a -mx=9 -mm=LZMA2 test.7z *.sh 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_GB....
user avatar
  • 1,949
1 vote
1 answer
37 views

What is the proper way to use the exclude arguments to exclude a directory in a specific directory when using 7z.exe

I know variations of this question have been asked before. I've look at the answers and none of them work for me. Running on Windows, using PowerShell. // Arguments are on separated by newlines only ...
user avatar
  • 145
1 vote
0 answers
32 views

7-zip - mutiple folders in seperate archives

I most likely found the answer to my question in this Thread: How to make 7-zip do a whole bunch of folders The user @Enteleform posted an answer and a script in there to create a batch file to drag ...
user avatar
  • 11
1 vote
1 answer
25 views

Search the contents of a SQL file without extracting it from an archive

I have a 128GB .sql file that's located in a .7z archive. For reasons of storage space, I can't extract the file. Is there any way to search for a specific line within that .sql file, without ...
user avatar
  • 113
-1 votes
1 answer
36 views

Can it be created a batch to zip multiple file with similar name in one zip?

I have multiple file roms in one folder. I want to zip all files that have the first part of the name before the underscore together in 1 zip file. For example: rom_disk1.adf rom_disk2.adf in rom.zip ...
user avatar
0 votes
1 answer
134 views

7-zip windows command to extract .rar from a networkshare recursively but keep files in the dir with the .rar file

Long story short I have one folder on a network share, that has 200+ other folders in them, some of which have .rar files in them. I want to extract all the .rar files IN PLACE. Not to another dir. ...
user avatar
0 votes
1 answer
45 views

7z with encryption: System ERROR: The parameter is incorrect

Doing 7z a test.zip test.txt -mem=AES256 -pPassword works and create an encrypted ZIP archive. But: 7z a test.7z test.txt -mem=AES256 -pPassword fails on Windows with: System ERROR: The parameter ...
user avatar
  • 1,696
2 votes
1 answer
128 views

searching a 7z archive using 7z l command to return only folders

On windows 10 I have a 7z archive with about 300 top level folders and each folder contains around 20-30 text files. I want to do a search with the 7z list command in powershell for certain folder ...
user avatar
0 votes
0 answers
56 views

I want to run 7z from a github action runner with a different user/password

I am running 7zip to zip some files in an app server as part of a github action. the github action runner does not have access to the server I am zipping , can I run 7z as a different user which has ...
user avatar
0 votes
1 answer
32 views

Unzip a file with 7-zip (command-line) without unzipping contained zip files

I have a zip file that contains many files, including other zip files. I would like to extract the contents such that the extraction contains the files exactly as they are. However, when using 7-zip ...
user avatar
  • 103
1 vote
0 answers
16 views

7z program prompts and asks for the password if I didn't provide one. How to let it just errors out and exit in this case?

I'm using the 7z.exe program to extract some .rar files. If the file is a password protected file, and if I didn't provide the password, the 7z program prompts and asks for the password. It looks like ...
user avatar
0 votes
0 answers
324 views

Windows 10 batch unzip multiple files with filename the same as zip directory name

I have about 60 files to unzip as you can see below: know the 7zip option, which can unzip all of them, but the problem is, that the file inside doesn't match the zip directory name, which would be ...
user avatar
  • 81
1 vote
1 answer
22 views

Create .tar back-up across two drives on Windows 10

My main drive (D:) has 500GB capacity. I also have two backup drives (both 250GB capacity). I want to back up the contents of the 500GB drive and spread it across the two 250GB drives. 7-zip allows to ...
user avatar
0 votes
0 answers
104 views

How can we unlock a 7z archive (w/ password) without extracting it?

The question in the title. I am aware; 7z x blah.7z -p'mysecretpassword' exists, but I wish to only unlock the archive - allowing my Python script to access it. Not extract it. The reason I can't ...
user avatar
  • 103
0 votes
1 answer
71 views

how to extract one or more archives recursively with one/multiple parts (rar or 7z) and deleting the archives after extraction?

I would be really, extremly happy if someone could help me with this problem. I want to be able to extract one or more files with only one or more parts and then deleting the archive(s). It doesn't ...
user avatar
0 votes
1 answer
36 views

Question marks appear even when opening the file in correct encoded format

I have been looking around on StackOverflow and here in the hopes of finding out as to why certain characters turn into question marks. To be more precise: It is often letter such as é and ó etc. I ...
user avatar
0 votes
0 answers
27 views

Unzipping lots of 7z files in one go on Mac

Hoping for some help. Short question - how do I open thousands of password protected 7z files in one go that are spread over hundreds of folders on a NAS? Is there a script/command that I can use to ...
user avatar
0 votes
1 answer
59 views

Access denied on Documents\My Pictures\ during 7-zip

I started a long-running archive creation on 7-zip via its command line interface. Tne items to zip included my Documents folder. Soon after I started it, I noticed several messages from 7-zip like ...
user avatar
  • 265
1 vote
2 answers
94 views

Batch move a list of zip files content up to root level

I have around 8,000 Zip files, each one has a folder inside of it with the same name. They look like this Example #1.zip └─ Example #1 ├─ 1.png ├─ 2.png └─ 3.png Is there a way to ...
user avatar
0 votes
0 answers
100 views

Delete a file from a jar file without using zip command or extracting the jar

Is there a way to delete the file from a jar file without extracting it or without using the 'zip' command? Thanks
user avatar
0 votes
2 answers
51 views

Is it possible to extract a single folder from a corrupted zip archive

I have a 22gb zip file which was located In a flash drive, I moved this archive to desktop but I am unable to extract it, it says the archive is corrupted. I used WinRAR to repair it but it didn't ...
user avatar
0 votes
2 answers
183 views

7z - compress files in sub-directory, name them for parent folder

I'm trying to compress a folder structure like so: Root |_ Folder |_Sub Folder 1 |_Files |_Sub Folder 2 |_Files |_ *more Sub Folders* I need to create .zip file ...
user avatar
1 vote
1 answer
118 views

Why 7z compression speed and CPU usage are low

On such system: To compress with 7Zip I use such setting: The compression looks like: I even change compression level to 0 - no compression and change destination disc to separate physical SSD ...
user avatar
0 votes
1 answer
71 views

7zip - don't create zip file if file list is empty

I want to create an archive from *.txt files with 7zip. If there's no match for *.txt, no zip file should be created instead of any empty (22 bytes) zip file. 7z.exe a -sdel myarchive.zip *.txt (I ...
user avatar
4 votes
1 answer
783 views

Where in the registry are the context menu options for 7zip?

I'd like to edit the context menu options for 7zip in the Windows File Explorer. More precisely, I'd like to replace Add to archive... by &Add to archive to be able to use a keyboard shortcut ...
user avatar
  • 1,696
0 votes
1 answer
248 views

Keyboard shortcut for 7z "Add to archive..."

I want to create a keyboard shortcut for the Right click > Add to archive... feature of 7z, in the Windows File Explorer. This nearly works with AutoHotkey: #z:: SendInput {AppsKey}a{Enter} ...
user avatar
  • 1,696
0 votes
1 answer
275 views

Batch zip multiple files with similar names

I have folder with number of files that are name the same but with different extensions. I want to batch zip the same file name into same name.zip file. Explain start files: Seth.dbf Seth.prj Seth....
user avatar
0 votes
1 answer
520 views

Using 7zip to extract multiple zips in multiple folders

I have a large folder tree. Let's say there are folders named A, B, C, etc. through Z. Inside each folder are a number of zip files. I can select all the zips in a folder, right click, select 7zip, ...
user avatar
  • 101
0 votes
0 answers
435 views

7z missing volume .r00

Some .rar files by volume do not end in .r00 or similar. then the following happens: If I run in command line: 7z x -y -pfoo "file (1).rar" And it is a file per volume, but the next volume ...
user avatar
  • 619
0 votes
1 answer
42 views

Update all zip files

I have several hundred zip files that I want to add a description file to. I want the descriptions inside the description files to be the name of the files without the extensions. Example file names: ...
user avatar
  • 1
1 vote
0 answers
52 views

7-ZIP, Show extracted files when complete (Like Windows)

1- Is it possible to show/open the extracted files when extraction completed using 7-ZIP in the context menu and inside the app in Windows GUI? Like the Windows default Zip extractor. There are some ...
user avatar
  • 111
1 vote
2 answers
213 views

How do I create a VDI file with the contents of a folder? (like zipping it)

I can't just use 7-Zip to add it to an archive. All it does is add a folder with all the stuff in it. Also, it doesn't seem to work when I do it that way in VirtualBox.
user avatar
0 votes
1 answer
107 views

Why does 7-Zip say VDI files are read-only?

Why can I not edit the VDI file with 7-Zip? I tried running it as administrator and it still didn't work.
user avatar
0 votes
0 answers
31 views

7zip CLI switches to achieve the same result then in the GUI

Most of the time I use the GUI for zipping stuff with 7zip. Now I have to batch for about 100 files. The result between the CLI settings and GUI settings is not the same. CLI Settings: 7z a -t7z -mx9 ...
user avatar
0 votes
0 answers
44 views

zip archive not asking for password while unzipping but 7z file does, other files like 7z?

Zip password protected file is not asking password while opening, we can view internal file but this is not the same case with 7z file. while opening 7z file it asking for password.I want to know ...
user avatar
0 votes
0 answers
70 views

Create password protected self extracting archive on mac (opened on windows)

I have a bunch of files with sensitive data that I need to share with someone else. I have a mac, and they most likely has a Windows. I want to send them the files encrypted, password protected and ...
user avatar
  • 101
0 votes
1 answer
45 views

7z command line doesn't split my compressed files

I'm trying to achieve the following via 7z command line to compress a few folders' worth of files that add up to around 70Gb: Notice the setting Split to volumes, bytes is set to 650M - CD. If I run ...
user avatar
1 vote
1 answer
231 views

What types are those set-up EXE files that have a big [0], and how to extract them?

In many cases, 7Zip can show the content of an installer ZIP file, so that I can just extract them and use them without running the set-up EXE. When 7Zip can't, it is usually Inno set-up, and I use ...
user avatar
1 vote
1 answer
580 views

Difference between .zip and .zip64

I am sorry if I sound wired!. After reading about .zip and .zip64 in the wiki, I realized that one of the major differences is about the size limit. Here is my options: SL # Raw file File size ...
user avatar
  • 113
0 votes
0 answers
17 views

how to get 7z to print compression speed?

For example given the command 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on dir.7z dir How do I get 7z to print compression speed while it is running? like xz -v or lz4 -v does?
user avatar
1 vote
0 answers
3k views

7-Zip Warning: "There are some data after the end of the payload data"

I just got this error message while trying to extract a rar archive that is split in several parts using 7-Zip: 1 C:\Users\Admin\Downloads\FileName.part1.rar Warnings: There are some data ...
user avatar
0 votes
0 answers
56 views

How can I best use the compression options of 7z?

I have about 900 GB of uncompressed SQL dumps which have a very large amount of common data. I've been using 7z with the -mx=9 option because I care much more about the size of the archive than how ...
user avatar
  • 127
1 vote
1 answer
380 views

Is it possible to extract foreign zip files with 7zip without adding a region to your computer?

In my 3D modeling circle, many users download and extract zip files from Japanese or Chinese creators. Generally, we are taught to add the relevant regions to our computers to ensure safe text/...
user avatar
2 votes
1 answer
372 views

Command line arguments: How to launch 7zFM.exe like the context menu does, so that prepared 7z GUI appears?

7z file manager (7zFM.exe) can be launched via context menu. This conveniently produces the 7z GUI already prepared for archiving. All I need to do is change the archive name and maybe add a password....
user avatar
2 votes
1 answer
66 views

7Zip Command Line script doesn't include all files

I'm trying to create separate zip files for each directory in a given folder, including the 2 files (a .docx file and an .mp4 file) in that directory, but omitting the subfolder "References"....
user avatar
  • 41
0 votes
1 answer
75 views

How can i recover my corrupted 7Zip file

While using Linux, I compressed my backup using 7zip and transferred it to a USB disk. Due to an error in the system, the data transfer process froze while the data transfer was about to end. After ...
user avatar
-1 votes
1 answer
69 views

7-zip doesn't open files with password from windows explorer

Everything worked fine, then I updated 7-zip and files with password cann't be open. Windows 7. Files without password open as usual. Everything works if I use 7zFM, browse to file and open it here. ...
user avatar
  • 441
1 vote
1 answer
65 views

Is there way to create a text log file of files in a directory in Windows 10?

I am 7zip-ing files for archiving, this presents a problem of not being able to find a file (in those zipped files) if I search in windows. However, if I could create a text file, that lists all the ...
user avatar

1
2 3 4 5
15