Questions tagged [7-zip]

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

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

7zip has problems extracting POSIX tar archives due to @PaxHeader files

POSIX tar archives contain POSIX headers as "dummy" files named @PaxHeader. 7zip dutifully extracts them, and they all collide, since they are all named the same. 7z then complains about the file ...
0
votes
0answers
22 views

7-zip - Looking to zip sub folders but not all sub folders

I have a folder structure of: -MAIN -- Branches ---001 ---002 ---003 I want to zip 003 up so I have a zip of -MAIN --Branches ---003 I'm using: 7z a "C:\My Files.zip" "C:\MAIN\Branches\003" ...
0
votes
1answer
83 views

7z command: Extract compressed files within new folder created

Sample compressed.7z contains 2 files in it. wolf@linux:~$ ls compressed.7z wolf@linux:~$ wolf@linux:~$ 7z l compressed.7z 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 ...
0
votes
0answers
23 views

Unzip multiple chunk files and delete on the fly

I downloaded a 70GB video zipped into five .7z files of approximately 15GB each. Video.7z.001 Video.7z.002 Video.7z.003 Video.7z.004 Video.7z.005 I have 40GB of free disk space left on my PC and can ...
2
votes
2answers
56 views

Pulling Single File from 20GB folder/7zip Archive on Mac

I have a large folder (~20GB) containing a rather large amount of old archived files (~400K). I only need one though. What would be the easiest way, if possible, to only extract the file I need rather ...
0
votes
0answers
18 views

7zip command line equivalent of these settings?

I have a huge folder (360GB) of log files on a unix system, which I would like to have zipped up with PPMd, more specifically, these GUI settings. I've read through the 7zip instructions but I ...
1
vote
1answer
93 views

Need Assistance Resolving Windows Batch For /R Infinite Loop with 7-zip

I have part of this script that I use to individually encrypt/zip files recursively in a folder structure. It works, except it seems one particular folder it will go back and start zipping the ...
0
votes
0answers
53 views

After 7z unzip only the temp word doc is visible (which is corrupt), the original is missing

I have once sent myself a 7zip file when changing computers, when I tried to unzip it, only one of the word documents have seemed to be 'corrupt'. When I later investigated, I have realized that when ...
3
votes
1answer
36 views

extract .rar multiparts with bash

i run this script but this have a problem with extract rar multiparts #!/usr/bin/env bash shopt -s extglob nullglob passw=( passfoo passbar passfoobar banana chocolate whiskey vodka ...
1
vote
0answers
44 views

When compressing a large amount of files, 7zip stops while only returning “Killed”

Recently a computer of mine died and I'm trying to recover the files (650GB approximately) using a live ubuntu usb to compress the files and then move them to an external HDD. I don't just want to ...
1
vote
2answers
236 views

bitsadmin versionless download

I want to download the latest version of 7z. My script downloads the current version, where in an edition I provide the necessary link and file name: TITLE 7-ZIP Reg.exe Query "HKLM\Hardware\...
3
votes
2answers
94 views

How can I add an option in the context menu in Windows Explorer to split files by 15 GB chunks?

I often need to upload files to Microsoft OneDrive, whose max size per file with my account is 15 GiB. How can I add an entry in the context menu in Windows Explorer to split files by 15 GB chunks? ...
2
votes
1answer
123 views

Windows Command Line / Batch File Check if 7zip password is correct?

In a Windows batch file is there a way to check if 7zip password for a zipped file is correct? I'd like to check if it succeeds, continue with the script (with call or goto routine), and if it does ...
1
vote
1answer
22 views

Is there an option in 7-zip to split into volumes and create SFX at the same time, the SFX being later extractible on Windows without 7-zip?

I use 7-zip 9.20 on Windows 7 Professional. When the 'Split Volume' checkbox is checked ON, SFX Archive checkbox is disabled and vice versa. Is there a way to accomplish both together, as well as ...
2
votes
1answer
110 views

Pass variable to filename in Windows FOR / DO Batch File

I have the following code where I systematically go through and compress each file individually. I don't care what the file name is, but I want it hidden more or less so will just call each file "file ...
2
votes
0answers
34 views

Open a CD that contains file .zl

I have a CD that was created in 2003. This CD used to contains some pictures in folders. Now I need some of those pictures but I am not able to recover them. The reason is that once I insert the CD in ...
0
votes
0answers
28 views

How to archive files older than 7 days with 7-ZIP - command prompt line [duplicate]

Can someone help how to archive files using 7z commands to archive files older than 7 days? For example in RAR we we are using set ARCHIVE_FILE_OLDER_THEN=-to5d and how about in 7Z? Do we have any ...
0
votes
0answers
26 views

decode 7zip tar archive that was encoded wrong

I was moving some files from a Windows 7 PC to a Windows 10 PC. I used 7zip to add all the files to a tarball. Some of the files had Greek characters in the filename and content. I moved the tar file ...
0
votes
1answer
154 views

how to archive file older then 5 days with 7z command

REM Exclude file types for archiving REM set EXCLUDE_FILES_TYPES=-x!*.rar -x!*.zip -x!*.7z set EXCLUDE_FILES_TYPES=-xr!*.zip REM Delete files after archiving set DELETE_AFTER_ARCHIVE=-sdel REM ...
0
votes
1answer
59 views

7-Zip. h (Hash) command. Calculate hash values for files. When you use it?

I use 7-Zip. I work in Windows 10 Home 64-bit. I use command line. From 7-Zip help I know there is h (Hash) command. Calculate hash values for files. Syntax h [-scrc{Method}] [files] Supported ...
1
vote
1answer
55 views

Why does write speed constantly slow down in 7zip during compression?

Related Question: Why does 7-Zip's compression speed lower over time? So I am compressing files (particulatarly large files, ≥1GB). So I notice that the write speed is slowing down and the ...
0
votes
0answers
25 views

7zip command line - 42/5000 how to add more parameters in one line

I'm trying to pack my files through commands just like I do via the GUI interface How can I add "dictionary size", "word size" and "solid block size" on the command line. I tried several parameters ...
1
vote
1answer
54 views

7-Zip. t (Test integrity of archive) command. Syntax. Two variants. Difference

I use 7-Zip. I work in Windows 10 Home 64-bit. I use command line. From 7-Zip help I know there is t (Test integrity of archive) command. Do I understand right way the following? In this case 7z t ...
0
votes
0answers
9 views

Recursively zip files, exclude the folders, but use the folder names for zip naming

I'm looking for a method to script 7zip to zip a bunch of folders in a parent dir, however I want the zips to exclude the folders, and only zip the folder contents. I do however want to use the folder ...
0
votes
0answers
9 views

7-Zip. t (Test integrity of archive) command [duplicate]

I use 7-Zip. I work in Windows 10 Home 64-bit. I use command line. From 7-Zip help I know there is t (Test integrity of archive) command. Tests archive files. Example: 7z t archive.zip *.doc ...
0
votes
0answers
14 views

Recover “Store only” 7z file

My laptop is running Manjaro (kernel 5.5). I went to make a 7z archive using the p7zip package. Specifically, my command was $ 7za a -mmt -mx0 -t7z ARCHIVE.7z Directory/ The source directory was ...
0
votes
0answers
44 views

Why do permenantly deleted files in Windows take up data and not disappear?

So with permenantly deleted files, I expect them to be marked off as raw data and disappear forever, to be overwritten eventually. But then, why do they not disappear in 7zip?! They even supposably ...
1
vote
1answer
39 views

Windows archive symbolic links

Is Windows able to store Symbolic links or Hard links in archive files? I see 7-Zip has these options: -snh : store hard links as links -snl : store symbolic links as links but trying them with Zip,...
1
vote
1answer
73 views

ISO image integrity check (new try)?

When you open an .iso file with e.g. 7-zip, the tool lets you test the ISO file, just like you can test any RAR or 7Z or ZIP file that the file is still ok. If that test finishes successfully, does ...
3
votes
4answers
243 views

How does a zip utility identify the file content and why .exe files can be unzipped?

I'm a little bit confusing about how does zip and unzip software identity whether the file its opening is a zip file or not. AFAIK, a program can identify a file with extension .zip is a zip file, ...
0
votes
1answer
26 views

Create a 7z archive with some subfolders, preserving directory structure and including only files with certain extension

I have a main folder, inside that I have many folders, with many different files inside each folder. My goal is to create an archive, with only a subset of the subfolders, including only files with a ...
1
vote
0answers
38 views

Sync-backup directly to a USB flashdrive good or bad for its life?

I've been using 7-Zip to sync-backup a huge folder from my hard drive (several hundred thousand files and folders) to a USB flash drive, like so 7z u F:\backup.7z -uq0 C:\HugeFolder\* -r -ssw -ms=off ...
2
votes
0answers
49 views

How do I gzip files from different folders, with each file in its own folder

i would to gzip all the html files in all directories which are under a directory, while deleting the uncompressed files. for /r %%i in (*.html) do "c:\7-zip\7z.exe" a -aoa -mx=9 -tgzip -sdel "%%~ni....
0
votes
2answers
34 views

7zip Extract to Specific Folder

I've written a batch script with 7zip to extract an existing zip file to a specific folder. From what I've read in other forums it should be working....but it's not. When I run just the basic extract ...
1
vote
1answer
253 views

Extract hash values (CRC) and path names from an archive

I have successfully extracted data from a large .rar archive (1.9TB) using 7-zip and now I want to delete the archive. However, before I do so, I would like to save path names and, most importantly, ...
0
votes
0answers
43 views

“Smart” fast compression for archiving mixed content?

I would like to backup a computer folder quickly to an archive format (e.g. tar, zip, 7z, gz, etc.). The folder contains many files: Some are text files that can achieve a good compression ratio. ...
0
votes
0answers
29 views

7zip extract only if password protected

I have an application that runs this command: "C:\Program Files\7-Zip\7z.exe x myArch.zip -aoa -ppassword -odestinationFolder I want to make sure the application extracts only zip or 7z files that ...
1
vote
1answer
63 views

7-Zip: Get number of files in each folder within archive (without extracting)

I have e.g. archive.rar which contains folders with files in it archive.rar \folder_a \folder_b \folder_c How can I get number of files in each folder (without extracting) and export result to a ...
0
votes
1answer
236 views

Run .exe from .zip files (without need of manual folder unpack)

Lets say, I have .exe executable (which has .dll dependencies) and I put then in .zip archive. When I open that archive (tried 7-zip, PearZip, Ashampoo ZIP, ZipWare ) and double-click the .exe ...
0
votes
1answer
102 views

Why do WinRAR and 7-Zip see different files when opening the same compressed file?

Example file jdk-7u67-windows-x64.exe is ~129MB (Oracle account is needed to download) When using WinRAR, it shows the total is 29,170,176B: jre.msi (~27.7MB) jre1041.MST jre2052.MST However, ...
-1
votes
1answer
79 views

Windows 10 security regarding malicious zipped files [closed]

Is there any possibility of malware infection in Windows 10 for the following three situations, a) When you download a zipped file, but do not use it (you do not open it)? and b) When you only ...
0
votes
1answer
33 views

Does 7z compression affected by CPU efficiency

I'm currently archiving a huge amount of data to 7zip, but i've a question regarding the result: Given two processors: 1 very powerfull and the second low-cost -or- Given the same processor but 1 ...
1
vote
1answer
151 views

Combined decryption and unzipping of a file

I have an encrypted file like file.zip.gpg. Decryption is done using gpg --output file.zip --decrypt file.zip.gpg and unzipping the archive contents using 7z(a) x file.zip afterwards. The first ...
2
votes
1answer
97 views

7z command line and GUI password inconsistencies

I'm seeing some weird behavior with 7z. I create an archive with the following command: 7za.exe a "zip_test.zip" -r "C:\zip_test\*" -p"abc123" When I open the archive zip_test.zip using the 7z GUI ...
0
votes
1answer
138 views

Opening DD image in 7zip

For some time, i have used DD images at work to quickly transfer a linux image to a new harddrive in case the old one broke. It works great, no complains. But, i needed to get a file from the image a ...
3
votes
1answer
186 views

Download and extract archive using PowerShell

Using PowerShell 5.1, how can I download a tar.xz archive and extract it without writing it to disk first? All these attempts: Invoke-WebRequest https://www.examle.com/archive.tar.xz -...
0
votes
1answer
69 views

Looking for a Batch Script that will combine 2 file types with the same name into 1 zip file

I have 2200 files. E:\Saturn Bins and Cues\(Files are here) aaa.bin aaa.cue bbb.bin bbb.cue ccc.bin ccc.cue Etc Looking for a batch script that will make a 7z or zip file and combine the bins and ...
2
votes
0answers
55 views

Compressing many similar small binary files independently using a preset dictionary

I have to compress many similar small binary packets (about 1.5 KB a packet) for data transmission. I tested .xz format on a 306 MB sample and I got 50% compression ratio (compressed to 153 MB). But ...
0
votes
0answers
140 views

How to extract multipart 7z with missing parts?

How can I extract any arbitrary combination of 7z.xxx files? Are some of the parts special? (Like the last that should hold the directory structure metadata.) Consider these scenarios: There are ...
1
vote
1answer
34 views

7zip command line how do i add the l next to x

i have this command that works however i want to list contents in zip so i need to add l command to it but i already have x so am stuck. this code extracts a file from zip but i need to add l next to ...

1
2 3 4 5
14