Questions tagged [7-zip]
7-Zip is an open source file compression and archiving application
825
questions
0
votes
1
answer
25
views
7zip fails to unpack rar under Debian
I have the following packages installed:
:~# apt search 7zip|grep installed
7zip/stable,now 22.01+dfsg-8 amd64 [installed]
libarchive13/stable,now 3.6.2-1 amd64 [installed,automatic]
liblzma-dev/...
0
votes
3
answers
33
views
Is there any way to compare zipped folders to unzipped file directory?
I know that Windows Explorer, 7-Zip, Beyond Compare, and others can look into a zipped directory to see the file structure and file names.
Is there any way to compare those file names to the unzipped ...
1
vote
0
answers
27
views
How to split a big folder into multiple standalone archives using RAR or 7-Zip console?
Example: I want to add a 100 GB folder to archives of 10 GB each using RAR or 7-Zip console on Windows. But each archive must be independent/standalone and able to extract without the other archives. ...
0
votes
0
answers
48
views
WinRAR - Span Archives instead of splitting (Internet Archive)
I'm having a small issue trying to back up data to the Internet Archive.
I have tried to used 7zip to split files into certain sizes (such as 7G or 25G) to upload better, but IA won't accept ...
0
votes
1
answer
42
views
Exclude all folders containing "discarded" with 7z
When I do
7z a test.zip -x!*discarded* test
with
test/
test/a.txt
test/subfolder/
test/subfolder/a.txt
test/subfolder/discarded/
test/subfolder/discarded/a.txt
test/subfolder2/a.txt
test/subfolder2/...
0
votes
1
answer
62
views
Split zip archives using WinRar vs 7-Zip
I created a split zip archive using WinRar and 7-Zip.
WinRar creates
archive.zip
archive.z01
archive.z02
....
7-Zip creates
archive.zip.001
archive.zip.002
...
With Total Commander I could enter(CTRL+...
0
votes
0
answers
31
views
How to estimate 7-Zip time to compress and email two PPTs 700KB each? Windows 10 Enterprise network folder
I need help to know if 7-Zip is freezing or still working.
My interpretation of following status from 7-Zip is it is frozen.
However, since these files are in network folder, I am not too eager to end ...
0
votes
0
answers
62
views
Can someone help with deleted 7zip archive restore
As the title says, I recently deleted an archive in 7z on windows 11, I went into the 7zip recycle bin and can see it but i cannot restore it.. Any time I right click and hit "Restore" ...
0
votes
0
answers
41
views
Can I get the real CRC of RAR-compressed files?
In RAR5 archives, the CRCs of files seem to be hashed again with the modification time of the corresponding files (so the answer to this question doesn't work).
I EITHER need the real CRCs from the ...
2
votes
2
answers
535
views
How do I extract a multi-level compressed file (recursion) with 7-zip in one command?
If possible, how can a file that's been compressed in multiple levels, like the following example.7z file, be extracted in a single command? Assume there is only one final uncompressed file.
example....
0
votes
0
answers
20
views
Backup WSL folder to USB without logging in as administrator [duplicate]
I am trying to backup my complete WSL data to a USB drive; however, I'm running into a 7zip administrative rights problem when I do it simplistically (creating the zip with the same windows user that ...
0
votes
0
answers
38
views
Use 7zip to create archives for each subfolder and file
Under Windows environment, I have a folder contains both subfolders and isolated files. The structure is like this:
D:\main_folder
subfolder1
subfolder2
file1.dat
I want to use 7zip to make the ...
1
vote
0
answers
55
views
With 7z-bash, how can I extract specific filetype but keep folder structure? [closed]
As it is right now you can recursively extract files via command parameters, and filter files by type. But if you add a filetype filter they will be extracted into the destination folder.
7z.exe x &...
1
vote
0
answers
41
views
How to download only bytes needed from stackexchange archive 7z files?
I am working on a doomsday version of stackexchange completely offline using the dump files in archive.org, some of the site files are rather large where it wouldn't make too much sense to download ...
9
votes
2
answers
2k
views
Cannot Zip folder that is too deep in subfolders
I am unable to zip a folder if the folder is too deep in subfolders. My company uses Dropbox, so we have a lot of folders in folders. For example, a path to a folder might look like this:
C:\Users\...
0
votes
1
answer
599
views
absolute fastest way to zip (not compress) larger files in 7zip?
I need to know the absolute fastest way to zip (not compress) larger files in 7-Zip.
By large files I mean 1Tb or so, this will be done often (multiple times per day).
I tried WinZip because it has ...
0
votes
1
answer
178
views
WinRar and 7zip command to extract archive in new folder
Good morning
I would like to know if there is a command in WinRar and 7zip that allows me to extract a compressed file into a new folder with the same file name, equivalent to right-clicking and ...
0
votes
0
answers
63
views
What are these pax tarball characteristics and comments?
I created a pax archive with GNU tar 1.34 under Debian 11 and, upon viewing the tarball in 7-Zip (23.01) File Manager on Windows 10, I noticed these fields on the archived items:
Name
Characteristics
...
0
votes
2
answers
840
views
How can I extract a .zip file with 7zip with a cmd command?
I have the following problem:
I have a test.zip
This test .zip should be extracted to a "test" folder.
But i have a test1, test2..., test23. So no matter how its named, the folder should ...
0
votes
0
answers
437
views
Optimizing 7z command line options for speed and compression ratio of large .bak files
I am currently dealing with a multitude of .bak files, each averaging around 300GB in size, and I need to compress them using the 7z command line. My primary objective is to strike a balance between ...
2
votes
2
answers
199
views
opening a self-opening, password protected archive with .zip.exe extension on a Mac
I am trying to open a password protected file:
unzip -v -P password123 filename.zip.exe
The output I get is:
Archive: filename.zip.exe End-of-central-directory signature not found. Either this file ...
2
votes
0
answers
48
views
Archive's total file size a lot bigger than the total file size of all its contents
I'm currently browsing through the content of a .obb archive containing the game files for an old Android game. Upon extracting its contents, I noticed that the total data size of the .obb archive did ...
5
votes
0
answers
449
views
On the command line how can I tell 7-Zip to disable the new (in 23.00) ARM64 filter?
Question
How can I teach 7-Zip -- specifically the command line version 7z -- that I want to disable only the ARM64 filter, but all others are acceptable?
My goal would now be to disable the ARM64 ...
0
votes
0
answers
93
views
Is it possible to recover a tar.xz file with the wrong hex header?
I have a compressed file in tar.xz format, when I try to open it with 7zip it gives the following error:
Cannot open the file as [xz] archive
Errors: Is no archive.
I checked the file in a hex editor ...
0
votes
0
answers
903
views
How to zip multiple folders in a directory separately
There are multiple folders in a directory which I want to zip individually with original FolderName.zip and after they are zipped delete the original folders. There are other zipped folders already ...
0
votes
1
answer
367
views
When using 7zip from the command line, how can I have 7zip archive creation overwrite the existing archive?
Currently it updates the archive where as I would like the whole thing overwritten. Thanks.
0
votes
0
answers
22
views
Trying to zip only an extension
im looking for a solution, since I'm changing all my comics cbr to cbz I'm using 7zip, but i have a problem: sometimes some cbr have many layers of subfolders inside.
Im trying to find a way to just ...
-1
votes
1
answer
583
views
7-zip unzipping files via command line where the zip contains special characters
7-zip was used in Windows to compress a batch of folders that contained file paths and file names that uses special characters such as € and accented letters.
When the command line prompt is used to ...
1
vote
1
answer
544
views
7zip on windows 11 create zip file with password
i'm using the following command from command line
.\7za.exe a "C:\TMP\updates.7z" "C:\test\Output\TMP\*" -t7z -ptest
The file was correctly created, but with no password ...
0
votes
0
answers
288
views
What compression options does 7Zip use when you add files with a drag-drop?
When you create an archive with 7Zip, you get a dialog showing you a bunch of compression options. However when you drag-drop some files into an already-open archive in a 7Zip window, you just get a &...
3
votes
1
answer
453
views
7z batch file create individual( 7z or zip) with a master PW
I use this command with notepad. Save it as 7z.bat in a folder you want to individually .7z or .zip the files. With -p{pasword} -mhe *.txt
@ECHO OFF
FOR %%i IN (*.*) DO (
ECHO "%%i" | FIND ...
0
votes
0
answers
610
views
How can I preserve creation dates when packing/unpacking 7z files?
From my tests, when unpacking files from a .7z archive, 7-zip preserves the "last modified" date but sets the creation date to the time of the file extraction (unpacking).
Is there any way ...
1
vote
1
answer
1k
views
How to zip files in a specific date range
I'm looking for a way to zip files in a specific date range using a script.
For example I would need something that zips files in a specified folder with date modified being 2020.
I tried the solution ...
0
votes
0
answers
248
views
Why Does 7zip give the error that certain files inside a zip downloaded from Dropbox are corrupted when they clearly are not?
My wife has a ton of data that she has worked on over the course of a decade saved on Dropbox, and we are trying to back this up to a local external drive so that we have two copies. I've downloaded ...
-1
votes
1
answer
597
views
How do I use 7Zip to open a file in an archive with a specific program?
Let's say there's an XML file in an archive, and I want to open it in Firefox but just double-clicking it will open it in notepad, the default program. How do I select the program?
0
votes
0
answers
66
views
Unable to decompress Password Protected Zips
I used Coolpad Note 3 lite with Android version 5.1 (lollipop). Using system's stock file manager I compressed many important files and made password protected zips & password protected nested ...
0
votes
0
answers
617
views
7zip how to copy file from zip to another zip
In 7zip with 2 panel view, I have 2 different zips open on both sides. I can drag and drop one file from inside the zip on the left side inside the right hand side zip file but it only preserves the ...
2
votes
2
answers
4k
views
How to unzip all files in a folder to their respective sub-folders using 7-zip on Windows 10?
I see various posts/answers around this topic but the answers did not work.
Environment:
Windows 10
64-bit
7-zip is located in c:\program files\7-Zip
I have a folder d:\zipfiles with many *.zip ...
0
votes
0
answers
51
views
How to delta compress audio track file , video tracks file, full webm file into one zip file?
Using yt-dlp -k https://youtu.be/33BT7KIZwTY,
I downloaded audio and video files and obtained a merged webm file.
After running the command, there are three files:
youtube originals [33BT7KIZwTY].f251....
0
votes
1
answer
131
views
7Zip extract from command line creates subfolders
I have a command line I'm issuing to 7Zip using the e (extract) command, which should, in theory disregard the full paths.
So I start with this:
However, on issuing this command:
C:\Program Files\7-...
1
vote
1
answer
1k
views
Using 7z command Windows 11
I have recently been trying to use 7z in Powershell but seem to be struggling to get it to work. I thought the issue would've just been that I didn't have 7-Zip added to my environment variables, but ...
1
vote
2
answers
206
views
Why does changing a source file's name affect the size of its compressed version?
Using gzip on CentOS 7, I just compressed a source file into a .gz file, then I found I got the source file's name wrong, so I changed the source file's name and compressed it again, and interestingly ...
-2
votes
1
answer
94
views
I was using Winrar but i need to use 7z now. Can u provide an alternative for 'winrar a -ep1 -idq -r -y '
Winrar.exe a -ep1 -idq -r -y filename
-ep1 is used to remove base folder while extracting.
So i need the command for excluding that
one.
Hope this is much clear.
0
votes
0
answers
218
views
Compress entire disk with 7-Zip
I want to create a ZIP file with the contents of a NTFS formatted external hard drive. I do not have permissions for many of the files on the drive. I do not want to give myself permissions on the ...
0
votes
1
answer
939
views
How can I extract all archives in the current folder using command-line 7-zip, without running the 7z command multiple times?
How can I extract all archives in the current folder using command-line 7-zip, without running the 7z command multiple times? Running it multiple times seems inefficient, and requires slightly ...
0
votes
0
answers
102
views
How to fix archive (7z) inefficent? [duplicate]
I want to archive a .mp4 file by 7z but after archiving the size of the file is approximately the original file.
7z config:
Result:
I'm using win 11 and 7z ver 22.01
So do you know how to compress ...
1
vote
2
answers
2k
views
How 7zip generates hash for multiple files?
I have a zero size file.
7-zip generates da39a3ee5e6b4b0d3255bfef95601890afd80709 for it. It's fine.
But if I select 2 zero size files, 7zip generates b47346ddbdd6961a64aa7edf2bc130205fb10f12 for them....
1
vote
1
answer
391
views
Is there a way to specify where .tmp file is created when updating an archive with 7zip command line?
When updating an existing zip file from command line, 7zip makes a copy of the existing zip file in the same directory and renames that copy with the suffix .tmp# where # is an integer.
Question:
Is ...
0
votes
1
answer
5k
views
"There are some data after the end of the payload data" on 7zip while extracting a bin file from Gmod workshop
Before we start, this is a near-identical issue from 6 years ago, where the answer offered seem less relevant today due to updates to 7Zip.
While using 7zip to extract a bin file downloaded via ...
1
vote
3
answers
633
views
Increase robustness of 7z LZMA archiving?
I create backups of several PHP projects like Wordpress etc, which contain a huge amount of small files. Hence I zip them into one archive to make transfering and checking the file easier / faster. I ...