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 [7-zip]

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

0
votes
0answers
12 views

How much better at compression are Facebook's Zstandard and Google's Brotli algorithms? [on hold]

I've come across independent benchmarks for other algorithms, but none so far that have included more modern algorithms like Zstandard, developed by Facebook engineers in 2016, or Brotli, developed by ...
1
vote
3answers
69 views

Does compression into one large archive result in better compression than individual compression of folders?

I have several folders of around 8GB or so. Together these folders total around 60GB of data. I can compress these folders one of two ways: either individually, creating one compressed archive for ...
0
votes
0answers
42 views

Failed installation of 7zip caused File Extension folders to disappear in Registry

When I tried installing 7zip, an issue occurred that removed a few extensions, most notably .7z and .rar. I'm not really sure what caused the error to begin with. Due to that error I can no longer ...
1
vote
0answers
18 views

7-zip Add to “filename” but in ULTRA?

7-zip has a right click menu to add to archive using the filename which is great. But it compress it using "normal" compression. To use "ultra" you have to do it manually. Officially there's no way ...
1
vote
1answer
23 views

How do I recursively compress only certain file extensions with 7zip command line?

With what commands can I compress only certain file extensions with 7zip? e.g. *.txt and *.doc and *.docx (across subdirectories, so 'recursively') I read Compress only specific files from a folder ...
0
votes
0answers
24 views

Data error when extracting 7z files [closed]

I'm having more and more data error when extracting/joining 7z files on Windows. I can often but not always work it around but I can't understand how is this possible. I only use 7z portable version ...
0
votes
0answers
8 views

omit starting subfolder in archive [duplicate]

i try to archive some files in a subfolder of the current directory, but I do not want to get this folder in the archive. when running 7zip a arch.zip ./someSubfolder I get an archive with "...
1
vote
2answers
59 views

How to encrypt txt files with AES256 via Windows 7z command line?

I have 7z on windows , and I want to encrypt 1 txt file with AES256 via 7z command line. How can I do it please?
0
votes
0answers
26 views

7zip - Password error in destination server

I created a 7zip archive encrypted with AES256 standard, and moved it to another server using a external hard disk. Before moving, I took the checksum using fciv. The archive is around 120 GB. In the ...
1
vote
0answers
5 views

Editing a .JET file in 7-ZIP is not saving to the archive

So, I'm trying to edit a .jet file as an archive. And every time I edit the files inside it, like every time I back out of Notepad++ to edit something else, it does not prompt me to update the archive ...
0
votes
0answers
40 views

How can I make robocopy continue to try even though there is an error 2 (file not found)?

I have a script that runs each night for backup purposes. The just of the script is it will backup a DB, compress it to a 7zip file and then copy it to a network location I have set-up. My script ...
0
votes
2answers
126 views

Not enough disk space to unzip 50 GB file on Ubuntu 16.04: Can I extract and reduce zip file size at the same time?

I have a 50 GB zip file, which contains roughly 50.000 jpg images. The jpgs are, unzipped, around 55 GB. I am on Ubuntu 16.04. But I only have 70 GB disk size on that system. So I get a disk error in ...
10
votes
2answers
1k views

Splitting into many .ZIP files using 7-Zip

If I have a 100 GB folder and I split ZIP it, is there a difference in how much disk space is consumed if I split it into 100 .ZIP files at 1 GB each or 10 .ZIP files at 10 GB each? Do 100 .ZIP files ...
0
votes
1answer
55 views

7zip force ignore NTFS junctions

Windows 1803, 7z 18.05 Trying to archive and compress a folder structure with multiple NTFS junctions referencing parts of the said structure (i.e. no "outside" links) - any possibility to compress ...
0
votes
0answers
45 views

Batch to extract a file from zip/rar/7zip renaming it BEFORE the extraction, with a random genarated name

I was wondering if there is a method (batch or even something written and compiled in some programming language) to extract a file (always the same file, so I know the name and I can "burn" it in the ...
-3
votes
1answer
45 views

7 zip- files still zipped will not allow programs(exe) to open

I know with winrar I can run exe files that are zipped to run, but with 7zip it seems like I cannot do that is there a setting that I can change to make it run without unzipping it?
7
votes
1answer
287 views

Extract folder content from 7z archive to specific folder

I have a 7z archive file which, at the "root" level, contains a couple of files and then a directory, which in turn contains both files and folders, like this: - file1.txt - file2.txt - my_dir - ...
1
vote
1answer
31 views

Batch repacking archives into 7z with custom settings

I'm working on archiving and compressing a lot of design elements and they are mixed in .zip and .rar files. After tinkering and testing these settings seem to produce the best results for me: I'm ...
-1
votes
1answer
37 views

Password Encrypt a file without needing recipient to have special software [closed]

I need to send a zip file to a client and need to secure it with a password. I have tried WinZip, WinRAR, 7Zip and the Windows 10 built in encryption. All of them encrypt the file but on a machine ...
0
votes
0answers
54 views

7zip command line to zip something without directory prefix

We have a batch file that uses Windows 10 builtin zip functionality to zip folders. That is so unpredictable and fails in the middle of 1 hr batch job which requires us start the whole process again. ...
1
vote
0answers
22 views

Quickest way to store (uncompressed) in a .zip file [closed]

I want all my music files to be in one location for easy syncing with my portable media player & for creating backups. However there are a few albums/tracks I don't wish to sync. I don't want to ...
0
votes
1answer
141 views

Batch File FOR Loop 7-zip extract specific file extension

I am trying to create a batch file to recursively extract multiple archives in multiple sub-directories from a source directory to an output directory while keeping archive folder structure. The below ...
0
votes
1answer
31 views

7zip separate directories from a list of network paths

I have a .txt file containing 2400 separate network paths to directories that i need to 7zip into separate encrypted .7z files. I believe i can do something like this in power shell however haven't ...
1
vote
0answers
179 views

7zip error codes

While trying to extract a file from a split archive, it failed consistently at 61% with Unknown error -2147024891 This error code seems to appear only a single other time anywhere, here. And there ...
0
votes
1answer
287 views

How do I use 7-Zip GUI for Windows to create .tar.gz files?

How can I use the 7-Zip GUI on Windows to create .tar.gz files?
0
votes
0answers
102 views

Open ERROR: Can not open the file as [gzip] archive

I'm rather new to Windows command prompt and am more used to Ubuntu/Mac's command prompt. I'm looking to extract a tgz file using a single command(like wget in Mac), and I tried using 7zip with the ...
2
votes
1answer
27 views

7zip recursive unzip working well in CMD but not in batch

I am using this command below to unzip recursively from the source folder(D:\cnosftp\) and put the extracted file in the same subfolder. FOR /R "D:\cnosftp\" %I IN (*.gz) DO "C:\Program Files\7-Zip\...
0
votes
1answer
147 views

Batch archive multiple folders with 7-zip to other directory

In reference to this wonderful work: @echo off if [%1]==[] goto :eof :loop 7z a -tzip "%~1.zip" "%~1" shift if not [%1]==[] goto loop I can't for the heck of it figure out where to put the output ...
0
votes
0answers
45 views

How to create flag which will indicate completion zip / compress operation?

I am using 7-zip and I would like to run zip operation on dir/files. My requirement is to get certain flag say some file (complete.flag) in a directory along with zipped content to indicate zipping ...
1
vote
0answers
46 views

7zip linux bash script [closed]

I would like to create a script on linux so that a specific folder finds new folders and automatically creates a zip archive and ignores those already created. Can anyone kindly help me? Thanks so ...
1
vote
0answers
32 views

Anyway to create a winrar/7zip script to unarchive a folder containing hundreds of folders containing .part .rars? [closed]

Poking around trying to figure out the best way to handle this. I have a folder full of 205 folders that each contain 10-20 .rar files that I'd like to all unzip to a new harddrive that I just got for ...
0
votes
1answer
29 views

Is it possible to check if a 7zip archive contains the same contents as a directory?

I have a folder on my external hard drive for saving minor backups (G:\LOG), whose contents I have compressed as G:\LOG\LOG.7z. However, I am unsure as to if this was entirely succesful. The folder is ...
-1
votes
1answer
78 views

Why does 7-Zip deflate 257 and 258 word sizes?

Compression word sizes are usually powers of 2. Yet, 7-Zip has some exceptions: Deflate has both 256 and 258 word sizes. Deflate64 has both 256 and 257 word sizes. These seem like such trivial and ...
0
votes
0answers
125 views

7Zip command line: Add without directory attribute D

I would like to add all files within a folder including all files in all subdirs with their paths to a zip archive. So this seems to be just a normal recursive add, but I need directories to be added ...
1
vote
1answer
165 views

7zip 7za.exe extracts all files to the folder it is running in

I have a zipped folder with subfolders and files within those, which I need to extract with 7za.exe. However, when doing this instead of extracting it correctly, it extracts all the files to the ...
1
vote
1answer
123 views

7zip on several terabytes, drive already compressed [duplicate]

so, I have a drive that is NTFS. it has thousands of graphics/video files that totals to about 6TB. I wanted to compress and send this info to someone. What is my best option for compressing? I've ...
0
votes
1answer
46 views

7-Zip: Automate script with excluding folder but include its content(set folder as root itself) in .cbr structure

When i use this script for /d %%X in (*) do "c:\Programs\7-Zip\7z.exe" a "%%X.cbr" "%%X\" in directory like this mainfolder comicfolder1 001.png 002.png comicfolder2 001.png 002....
0
votes
1answer
456 views

How to add password command in zip bat file

I have a script below which is working perfectly, all I need is to add a password & encryption while compressing. Any idea where do I put the -p command to make it work? I tried but it is not ...
1
vote
1answer
195 views

Trying to use a bat file but I get the error "7z is not recognized as an internal or external command, operable program or batch file

I assume I need to make Windows recognize 7z as something it can use but I don't know how. I searched for answers and this one here said that I need to add the binary to my machine's PATH but I don'...
2
votes
1answer
128 views

7Zip exclude all subdirectories

In my test my folder structure is as follows: D:\Data\1.db D:\Data\2.db D:\Data\3.db D:\Data\FolderA\1.db D:\Data\FolderA\2.db D:\Data\FolderA\3.db This is a simple example to my complex real world ...
0
votes
1answer
55 views

How to compress a bunch of files efficiently?

Let's say you have a lot of files to archive. They are in several different file formats (txt, docx, pdf, png, jpg, mp3, zip, etc.). What are the best practices to compress them all, so that they ...
0
votes
0answers
57 views

Control the order of extraction in 7zip

Suppose I have three files, file2.txt, file1.txt, file3.txt I want to 7zip these files in the same order and extract them in the same way. I'm aware that these files when compressed will ...
1
vote
0answers
167 views

TSQL XP_CMDSHELL 7ZIP UNZIPPING

I am struggling to unzip a file from using 7-zip. I am running from SSMS the followng command, password is replaced by text "password". exec XP_CMDSHELL 'C:\"Program Files (x86)"\7-Zip\7z.exe e -...
2
votes
1answer
153 views

Fastest way to compress (i.e. archive into a single file) millions of small files on a powerful cluster to speed up transfer of files

IMPORTANT NOTE: Compression is NOT the goal, archiving/taping (packing all of the files into a single archive) is the goal. I want to backup a single directory, which contains hundreds of sub-...
0
votes
2answers
159 views

add folder to 7z with current date in front

I have a folder Foo that I want to backup to Foo.2018.07.12.7z and so far I tried this command: C:\"Program Files"\7-Zip\7z a "Foo%DATE%".7z Foo but the problem is that my date format has slashes ...
0
votes
1answer
107 views

7zip exclude folder by pattern in linux

I'm trying to achieve this but using 7z from linux command line: zip -r target.zip source_folder -x *.git* -x *node_modules/\* I tried with this but I get the following error: $ 7z a mtss.7z mtss-...
2
votes
2answers
60 views

Batch file for 7zipping all folders into .7z directories (no subfolder left inside!)

I'm sorry this has probably been asked numerous times before but I'm tearing my hair out trying to fix my batch code and I can't find a specific answer which I can use to correct my own code. I have a ...
0
votes
0answers
225 views

Create self-extract archive with specified path from command line

I'm currently using 7zip as archive creator and 7zip SFX Builder as SFX packager, because I need to specify InstallPath which is not supported by vanilla 7zip. The problem is that I have to manually ...
3
votes
1answer
860 views

7za create AES256 password protected encrypted zip of a folder

I want to create an AES256 encrypted zip of a folder. I am on Mac and I want to create the zip file and store it in an external drive. I want to AES256 encrypt the file in case I lose the external ...
0
votes
0answers
76 views

Getting E_NOTIMPL error when using -v option with 7zip on Debian

Running Debian 9, installed 7-zip 16.02 (64-bit) from debian repo. I'm attempting to create a split 7zip archive, and I receive this error message: 7z a dir1.zip dir1 -v1k 7-Zip [64] 16.02 : ...