Questions tagged [7-zip]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
1k 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
Niwedita Rani's user avatar
0 votes
2 answers
414 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 ...
Ahmad Abdulkadir's user avatar
0 votes
2 answers
2k 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 ...
Charles O'Connor's user avatar
1 vote
1 answer
2k 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 ...
Michał Lipok's user avatar
0 votes
1 answer
967 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 ...
Norbert Oláh's user avatar
5 votes
2 answers
5k 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 ...
Basj's user avatar
  • 1,809
0 votes
1 answer
2k 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} ...
Basj's user avatar
  • 1,809
0 votes
1 answer
3k 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....
Jason Maust's user avatar
0 votes
3 answers
12k 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, ...
Robert M.'s user avatar
  • 121
1 vote
0 answers
2k 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 ...
acgbox's user avatar
  • 785
0 votes
1 answer
45 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: ...
Brian's user avatar
  • 1
1 vote
0 answers
1k 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 ...
eArmin's user avatar
  • 111
1 vote
2 answers
3k 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.
Jmooroof's user avatar
  • 193
0 votes
1 answer
589 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.
Jmooroof's user avatar
  • 193
0 votes
1 answer
636 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 ...
CrazyNoun's user avatar
0 votes
0 answers
3k 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 ...
user3629's user avatar
0 votes
1 answer
1k 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 ...
HerrimanCoder's user avatar
1 vote
1 answer
2k 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 ...
Damn Vegetables's user avatar
4 votes
1 answer
10k 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 ...
tisuchi's user avatar
  • 143
1 vote
0 answers
10k 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 ...
user15321167's user avatar
1 vote
0 answers
824 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 ...
aswine's user avatar
  • 137
2 votes
2 answers
8k 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/...
Nintendraw's user avatar
4 votes
1 answer
2k 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....
Dreamspace President's user avatar
2 votes
1 answer
298 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"....
stusic's user avatar
  • 41
0 votes
1 answer
1k 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 ...
Erol Umut Atalay's user avatar
0 votes
1 answer
2k 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. ...
Qiao's user avatar
  • 483
1 vote
1 answer
777 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 ...
Aasim Azam's user avatar
2 votes
1 answer
3k views

Correct way to verify split files with 7-zip?

I'm using the 7z.exe in a script to create some archives with 7z.exe a -tzip -v100m, when the archives are created i verify them with 7z.exe t. When compressing big files, the result is for example: ...
AmazingRealist's user avatar
2 votes
0 answers
431 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 ...
abhishek pandey's user avatar
81 votes
1 answer
40k views

7-Zip -- 7z.exe | 7zG.exe | 7zFM.exe (which one to use?)

7-Zip has multiple .exe files, which one do I use? Every so often I would forget which way round these were, or would try and use one of the .exe's for the wrong purpose, so thought I would get to the ...
Martin's user avatar
  • 1,836
0 votes
1 answer
865 views

7z command does not extract individual partition from dmg file

I have a file called BaseSystem.dmg which contains a hfs+ system image as well as other files. flex@flex-ubuntu:~/Documents/MacOS2$ dmg2img -l BaseSystem.dmg dmg2img v1.6.7 (c) vu1tur ([email protected]....
FlexMcMurphy's user avatar
0 votes
0 answers
569 views

Task Scheduler half completes task from batch file, then gives (0x1)

I am attempting to use Task Scheduler to automatically create a backup of a couple of folders in a location at the end of the day. I am using 7zip as my archive program. The batch file that I am ...
GlitchNDaSystem's user avatar
0 votes
0 answers
171 views

7z is renaming the nested .gz file while extracting iso file. How to stop renaming it?

I am trying to extract ISO file using 7z. Let's say we have below folder structure centosserver/x/16890efb08ba2667b3cfd83c4d234d5fabea890e6ed2ade4d4d7adec9670a9a5-primary.xml.gz But I noticed the ...
Jagrut Trivedi's user avatar
0 votes
0 answers
89 views

Archive a directory to stdout with encrypting file names from Windows command line

I have a 1 TB directory that needs to be uploaded as a single encrypted file. There is no free space on a disk. I already have an app to upload a file from stdin but I don't know how to create the ...
Vlad's user avatar
  • 186
3 votes
2 answers
2k views

How do I search in multiple 7-Zip archives?

7z command line has a very fast search feature allowing to find files contained in a compressed folder. This is the syntax: 7z l mycompressedfile.7z fileiwant.txt -r It works also on multiple ...
Anton M's user avatar
  • 171
2 votes
2 answers
6k views

Check password of large 7zip file quickly

I have a large 7zip file which I forgot the password to. I can narrow down the password possibilities to a word list with about 2000 passwords. Only problem is, that it takes ages for each password ...
Servus's user avatar
  • 121
0 votes
2 answers
1k views

Batch File command to unlock password protected archives

I'm trying to write a batch file that will unarchive .7z files...extracting them to their original folder. The problem I'm having is adding the password to the code. Can someone help? Thanks! Here is ...
John's user avatar
  • 1
1 vote
0 answers
454 views

How to confirm that 7zip line command matches output from GUI

I use the 7zip GUI very often and I am trying to automate some backup archive generation. Here is the configuration that I can read on the GUI: Archive Format : 7z Compression Level : Ultra ...
Myoch's user avatar
  • 111
2 votes
1 answer
2k views

7zip archive won't decrypt with the password used for encryption

I'm trying to write a PowerShell script that will use 7zip to compress files with encryption individually. $Password = Read-Host -Prompt 'Enter Password:' dir *.txt | ForEach-Object -Parallel { & ...
Rashiq's user avatar
  • 161
1 vote
1 answer
1k views

How do i unzip files with 7z and do not replace files that have the same name but different hash?

How can i tell 7z to extract all the files in the directory, tell it to do not replace files that have the same name but different hash? preferably tell it to extract the files and rename them to ...
OneAndOnly's user avatar
1 vote
1 answer
744 views

Chrome silently ignoring single click download of 7z files

When I press a link to .7z files on Chrome, it is silently getting ignored and the file is not downloaded. There is no pop-up message or any indication of why it's not downloading the file, just ...
user13267's user avatar
  • 1,651
0 votes
1 answer
62 views

Do office programms make local copy of encrypted files (e.g. 7zip encrypted)?

I have a folder with different files .docx, .xlsx etc. I encrypted the folder on a usb stick with 7zip with password. When I put the usb in another computer and open a file of this "vault", ...
user avatar
1 vote
1 answer
3k views

Using 7zip to extract a CAB file of drivers. Where do you extract them?

I have a Dell E5450 and I have downloaded the Windows 10 driver pack cab file from Dell. I'd like to use 7zip to extract these driver files to their proper location on the windows computer only using ...
newman's user avatar
  • 13
2 votes
1 answer
125 views

My updater script for portable apps works. But not for VSCode

Edit: Fixed version below. I have a script that lets me update any app that is distributed in portable format, and it works. With the exception of VSCode. With VSCode, after running the script, I'm ...
Fabian Schneider's user avatar
1 vote
1 answer
426 views

recompressing .gz and .bz2 files to attain the same hash/checksum (mod timestamps?)

i want to duplicate the entire contents of wikimedia's dumps, monthly, and upload them to amazon glacier and/or tape backup and/or a third backup medium that can survive corporation collapse/...
loud_flash's user avatar
3 votes
2 answers
8k views

Are 7z-included checksums enough to verify backup integrity?

I recently started using uncompressed, encrypted 7z archives for backups. I chose 7z because it has easy to use desktop apps for Windows and Linux, in case I need to recover the data quickly. I store ...
Sojaki's user avatar
  • 123
1 vote
1 answer
3k views

Auto rename extracting file with custom prefix during overwrite conflict using 7Zip

I am trying to extract a .zip archive file which has files with same names, and later I want to manually check the conflicted files. I have tried extracting it using 7Zip command line switch -aou, ...
Hamid Khan's user avatar
1 vote
1 answer
626 views

Create multi volume archive of standalone zips

Is there a way using 7-Zip to create multi-volume archives (totaling many gigabytes) with each archive as a standalone zip with no files spanning multiple volumes??? Scenario. User has to upload 16 gb ...
Steve Reeder's user avatar
1 vote
2 answers
2k views

7zip password protected zip - SHOW the password that i type

wondered if, when i unzip a pasword protected file and it says "enter the password, it will not be echoed" if i could see either what i type or paste (echoed!) OR a ***** to show that what i'...
user2754867's user avatar
2 votes
1 answer
764 views

Unzip and 7z with password, without temporary files

Every now and then, I receive a download link for a 6 GB .zip data archive that I'd like to: download unzip recompress with 7z, with a password I'd like to avoid using temporary files for each ...
Basj's user avatar
  • 1,809

1 2
3
4 5
17