Questions tagged [7-zip]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 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. ...
unixcandles's user avatar
0 votes
0 answers
45 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 ...
Noah888's user avatar
0 votes
1 answer
38 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/...
Basj's user avatar
  • 1,749
0 votes
1 answer
61 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+...
user4691's user avatar
  • 171
0 votes
0 answers
29 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 ...
panes-rubrics's user avatar
0 votes
0 answers
57 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" ...
IronDonkey's user avatar
0 votes
0 answers
40 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 ...
viuser's user avatar
  • 105
2 votes
2 answers
514 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....
Nathan J.B.'s user avatar
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 ...
Mike Pennington's user avatar
0 votes
0 answers
37 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 ...
range's user avatar
  • 1
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 &...
reYal's user avatar
  • 11
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 ...
thefern's user avatar
  • 111
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\...
AndrewH's user avatar
  • 177
0 votes
1 answer
540 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 ...
Stugots2's user avatar
0 votes
1 answer
162 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 ...
Elermino's user avatar
0 votes
0 answers
61 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 ...
leetbacoon's user avatar
0 votes
2 answers
767 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 ...
Roman's user avatar
  • 1
0 votes
0 answers
413 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 ...
m'hd semps's user avatar
-1 votes
0 answers
1k views

Zip Repair that actually works?

We use a ZIP archive as a container for out application's project files. These occasionally turn up corrupted, and almost invariably this corruption is in the form of a lost CRC on one of the files in ...
Kyudos's user avatar
  • 389
2 votes
2 answers
191 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 ...
Daniel 's user avatar
2 votes
0 answers
47 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 ...
Oblivion3's user avatar
5 votes
0 answers
438 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 ...
0xC0000022L's user avatar
  • 7,073
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 ...
Ameruca's user avatar
0 votes
0 answers
879 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 ...
Afzaal Ahmad's user avatar
0 votes
1 answer
347 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.
albertbarnard's user avatar
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 ...
Fernando Benavides's user avatar
-1 votes
1 answer
562 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 ...
jarod's user avatar
  • 1
1 vote
1 answer
502 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 ...
Luca Nitti's user avatar
0 votes
0 answers
283 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 &...
Jez's user avatar
  • 2,958
3 votes
1 answer
440 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 ...
André Gravel's user avatar
0 votes
0 answers
602 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 ...
summerrain's user avatar
1 vote
1 answer
994 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 ...
Pribovich's user avatar
0 votes
0 answers
227 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 ...
jaredad7's user avatar
  • 175
-1 votes
1 answer
588 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?
H.v.M.'s user avatar
  • 547
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 ...
rTx's user avatar
  • 1
0 votes
0 answers
597 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 ...
ghostanime2001's user avatar
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 ...
carrabino's user avatar
  • 141
0 votes
0 answers
50 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....
kouhe3's user avatar
  • 21
0 votes
1 answer
118 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-...
user3629010's user avatar
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 ...
CadenQ's user avatar
  • 11
1 vote
2 answers
198 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 ...
NoobAdmin's user avatar
-2 votes
1 answer
92 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.
Ashitha A's user avatar
0 votes
0 answers
206 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 ...
user2248702's user avatar
0 votes
1 answer
927 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 ...
Hiccup's user avatar
  • 329
0 votes
0 answers
98 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 ...
Nguyễn Tri Mẫn's user avatar
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....
KeyKi's user avatar
  • 181
1 vote
1 answer
388 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 ...
Argyll's user avatar
  • 614
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 ...
HFOrangefish's user avatar
1 vote
3 answers
618 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 ...
tim's user avatar
  • 350
1 vote
1 answer
738 views

Is there a way to choose between single-thread and multi-thread compression in 7z command line tool?

Is there a way to choose between single-thread and multi-thread compression in 7z command line tool? I want to be able to make the choice so that a process that's meant to run in the background with a ...
Argyll's user avatar
  • 614

1
2 3 4 5
17