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

learn more… | top users | synonyms (1)

1
vote
0answers
20 views

Incremental backups with 7-zip

I am trying to set up an incremental backup with 7-zip after finding zip might not suit my needs fully/easily. My data is located in /media/Data/Work. For some reason it is not liking my code. I've ...
0
votes
1answer
22 views

7zip: compress and copy to destination folder

I am trying to do the following: command line compress a file from C:\TestFolder\file.txt (source location) and on the same command or bat file put that compressed file in (a destination folder) ...
0
votes
0answers
12 views

7za.exe: Add files to subfolder in archive

7za a -t7z -mmt -mx9 -y Include.7z .\Include\* The above command adds the files to the 7z archive, but what if I want them in a custom subfolder? For example Files\ inside .7z
1
vote
1answer
55 views

Batch file to create .7z archive for each file (in folder/subfolder) to a new destination (folder/subfolder structure)

I use a batch file to backup files to 7-Zip archives. It creates an archive for each file separately in the folder where the original file is. Works with sub folders. FOR /r %%i IN (*.*) DO ( ...
1
vote
0answers
25 views

Possible bug in 7zip - empty folders extract as empty files

I have a directory structure as follows: Main | |--empty_folder | |--folder | |--example.txt I'm zipping it using the .NET ZipFile.CreateFromDirectory method (but I doubt this has anything to ...
0
votes
1answer
49 views

What happened to .gzip option in 7-zip?

I am not sure if this is just a coincident or not but I have recently upgraded my OS to Win 10. I noticed only now (after the upgrade) that the .gzip archive format is not available in 7-zip ...
0
votes
0answers
14 views

How to change context menu option for 7zip?

I work a lot with .gzip format and I am wondering if there is a way to change the default "Add to" format in the context from .zip to .gzip.
1
vote
0answers
17 views

7zip cli kills itself. Why?

I have 1 TB huge directory on debian/ext3. I need to 7zip it and then transfer it to another computer windows/ntfs. I use the following command, but in the end it says Killed. Any idea whats wrong? ...
-1
votes
0answers
27 views

Strange model of zip split files

I have some zip splited files, with random sizes, and named as: file 1.zip file 2.zip file 3.zip.... I try unzip this files with the programs winzip, winrar and 7-zip, but when i click in the first ...
1
vote
0answers
15 views

Uncompress recursively using 7-Zip from command line

I'm attempting to uncompress several .gz files using 7-Zip from the command line. My files are in directories like so: Desktop/copyto/1/ file1.gz file2.gz Desktop/copyto/2/ file1.gz ...
0
votes
1answer
17 views

Want new directory while extracting archive file using 7zip

I Have Some files and Directories in archive directory Archive File_1 File_2 Directory_1 Directory_2 I want to create zip file of archive directory. But I do not want name archive zip Instead ...
1
vote
1answer
56 views

Compress large CSV FIle? (500MB)

I have a CSV-File which is 500MB of size. I am searching for a way to compress is to it smallest possible size. I actually received the file back then in a ZIP-Folder which was only about 50MB of ...
1
vote
2answers
26 views

How to pass multiple files to zip in a single command using 7 zip?

I have one folder which will contain below mentioned files: destiny.txt destiny1.txt destiny2.txt destiny3.txt destiny4.txt destiny5.txt destiny6.txt destiny7.txt Out of which destiny1.txt, ...
1
vote
2answers
47 views

7z command line = 7z extract to

I have a dmg "winzipmacedition40.dmg" I'm trying to extract dmg from windows 7 I want to know how to "extract to" method via command line Result 1 Using Right Click file > 7z > Extract to ...
6
votes
1answer
76 views

7z: What *does* the -r flag do?

The man page for 7z simply says Do not use "-r" because this flag does not do what you think. The only documentation I can find basically restates the same thing. -r[-|0] Recurse ...
1
vote
0answers
41 views

7zip only asks me for a password once when I open an encrypted file

I archived some files on my laptop and encrypted them using 7zip and the first time I tried to open a file, it asks for the password, but after that it never asks for a password... is there a way to ...
0
votes
0answers
15 views

Dry run test the final file size of a rar or 7z file via terminal?

Is there a way of seeing the final file size (so I can determine how much space saving) of a zip file, preferably a rar or 7z file. I'm on a mac so ideally I'd like to do it via the Terminal. I've ...
2
votes
2answers
56 views

How to compress multiple files with similar names?

So I've got some 20 000 files that I want to compress and group by following logic: compress every file that have identical characters up to ( also include files that have no ( So the files are ...
1
vote
2answers
18 views

What 7-zip command line syntax can I use to display errors only when creating a zip?

I do not want all the file names being read to scroll in the command window, but would like only problem files to appear. Better yet, I would like to direct error output to a file. My only alternative ...
1
vote
1answer
36 views

Is there a tool similar to IEpxress or 7Zip that can pass command line arguments to a dependency [closed]

I recently discovered IExpress and would like to use it to package arbitrary scripts in any language with their respective interpreters/libraries/dependencies. IExpress and 7zip can offer all of that ...
0
votes
0answers
139 views

Unzip .gz file in windows batch script using 7zip

I have 7 zip installed on windows machine. I have to extract .gz files into .txt files. I am not able to find a suitable command to do that. I tried below : 7za e ...
1
vote
1answer
76 views

7zip Batch Compression for a specific file extension in different folders

I've already learn how to batch compress my files as-is with 7zip but I have something more complex need on this issue. Maybe I can explain my needs with this scenario; I have a backup folder of my ...
0
votes
0answers
26 views

“recompress” a 7z archive inline

I have a rather large (~500GB) 7-zip archive. I originally made it when I had more space available, and did so at rather fast, low-compression settings. Now things are tight, and I'd like to try and ...
0
votes
1answer
28 views

Decompress files in subfolders to the same subfolder using 7-Zip

I have a set of subfolders with .gz files buried in them. I need to decompress the files and keep the directory structure the same. I have used for /f "usebackq" %i in (`dir *.gz /s/b`) do 7za x %i ...
0
votes
1answer
90 views

7zip command not extracting to specified output directory

7z x d:\migration\mongo\mongodb.7z o:f:\data *.* -r I'm using this command as part of a batch to extract the contents of a 7z file from one drive (D) to another (F). The folder structure is ...
2
votes
1answer
83 views

How to pass parameters in batch file and zip the file using 7z.exe?

I need to create a batch file as per below requirements 1) pass path1 & path2 while running the batch file exl: testrun.bat E:\ERP\test1.txt E:\ERP\header.txt 2) Need to store these command ...
0
votes
2answers
220 views

how to open a zipped folder shown as zip.xml file?

I zipped some folders using winzip on my old laptop and copied to an external drive. The folders contain all types of files including xls, doc, ppt, etc. Now I am trying to open the zipped folders in ...
0
votes
0answers
37 views

Zip epub using 7zip and issue with exlude file

I've many epub as folders need to convert it to .epub compressed so i created bash script to that ..which are compress the epub folder to zip then rename it to .epub using 7-zip btw i was try to use ...
0
votes
0answers
56 views

7z: How to exclude symbolic links from extraction?

How to ask 7z to exclude extracting symbolic links ? In following file, bad_file and passwd are symbolic links. Is there a way to ask 7z to not extract them or not create them after extraction ? ...
2
votes
1answer
166 views

7zip - Command Line: how to set output path?

I want to compress all HTM files in D:\HTM\ to an archive called comp.7z which is created in D:\HTM\ directory, so I do the following: 7z a -o "D:\HTM" comp.7z "D:\HTM" and get an error, exactly as ...
1
vote
1answer
64 views

7-zip update: skip operation if nothing has changed

I am using 7-zip to backup folders on my disk into 7z archives on a network storage. Each time the backup script runs, it will update the existing archives in 7-zip update mode (compress new files ...
-1
votes
1answer
45 views

How can compressed archives like .RAR be repaired?

I'm interested to know how WinRAR and 7-zip repairs archives but unfortunately I couldn't find any description about this process.So I'm here to ask: How does WinRAR or 7-zip repairing process work? ...
1
vote
1answer
54 views

How to 7zip multiple folders in to one 7z package?

Let's say there are 3 folders: /a/1 /b/1 /c/1 And any of the folders may contain sub folders like /a/1/x /b/1/y ... How to compress /a/1 /b/1 /c/1 folder with files and sub folders into same one ...
0
votes
1answer
108 views

How to extract 15GB rar file containing mkv video files

I have a .rar file that contains 15 GB of mkv video files. I am using Windows 7 64 bit and all hard disk partitions are NTFS. There is 500 GB of hard disk space and 4 GB of RAM. I have tried ...
0
votes
2answers
69 views

How to create a zip file with files in FAT format on Linux

I have to create a zip file (with no compression). I want the files in the zip to be in FAT format. That is, If i use zipinfo command, I should get the following: ... -rw-a-- 2.0 fat ...
0
votes
0answers
55 views

How do I decrypt seczip AES256-encrypted files using 7-Zip?

Using 7za on SLES 11, how do I decrypt AES256 files? I have created these files on a mainframe using “seczip” with password protection and AES256 encryption. I want to decrypt them on an SLES 11 ...
1
vote
1answer
76 views

7zip not allowing file extension in the archive name

7za.exe a C:\temp\file.txt.7z C:\temp\file.txt Error: there is no such archive why is 7zip not allowing file extension in the archive name? I even tried it with simple period in the archive name, ...
0
votes
0answers
42 views

Set maximum size of zip/7z archive

I have multiple files that I would like to pack into archives of no more than 100MB. The only option I could find was to split the archive into volumes, but what I want is standalone archives that can ...
0
votes
1answer
110 views

All zip files downloaded as 7zip

Ever since I downloaded 7zip, and even after I uninstalled it, is that all my zip files are downloaded as 7z files. How in the world can I stop this?! I have been looking for answers for about a month ...
2
votes
1answer
49 views

Why does 7-Zip's compression speed lower over time?

I'm busy backing up my local server files, which amounts to just under 4GB of data in ~295000 files. I selected 7z as the format, and set the level to Store. The process started pretty quickly, but ...
0
votes
0answers
106 views

how unpack rar file?

i try unpack rar file: http://fias.nalog.ru/Public/Downloads/20150309/fias_dbf.rar (4+ gb), but get errors from every methods. i try unpack with unrar-free package, my command: unrar-free x ...
0
votes
1answer
73 views

7zip file splitting “DVD” setting too big for a DVD

I'm using 7Zip to split some large files so that I can copy them onto DVDs. I've done this before, using 7-zip's "Split to volumes" feature, and using the "DVD" size. This is creating files that are ...
-1
votes
2answers
150 views

Remove particularly tricky items from context menu

I've found various sources of info about removing these annoying things which I never use... but I haven't succeeded in getting rid of the following. (Avira-related:) - Scan selected files with ...
0
votes
0answers
34 views

Using 7zS.sfx - Any way to force uninstall of all versions (current or previous)

Here's my situation: I am building an application using a setup and deployment project in VS 2010 and packaging it into a self-extracting executable using 7zS.sfx. Generally, my users like to execute ...
1
vote
0answers
200 views

Windows .bat script to recursively archive (with 7zip) files in subfolders

I'm struggling to achieve the following DIR1 FileA FileB SUBDIR2 --->FileC --->FileD --->SUBDIR3 ------>FileE ------>FileF etc and end up ...
0
votes
1answer
119 views

7zip reports corrupt file although checksum matches

I transferred a large (140GB) disk image to my machine over ftp in 7z format using 4Gb chunks. When I had downloaded it, none of the chunks can be opened using 7zip. On the first file, I get an ...
0
votes
1answer
49 views

shortcuts opening as 7zip files [duplicate]

My brother tried to open a .lnk file with 7zip and now every shortcut tries to open in 7zip, how do i undo this or fix this? I genuinely have no idea what to do or where to start and no one else ...
2
votes
1answer
102 views

How do I zip a bunch of files with the same name with their paths?

I have many files with the same name in many folders throughout a project on a Windows PC. There are hundreds of thousands of source files in thousands of folders. They need to be sent out for ...
1
vote
2answers
752 views

Unpacking .z01 .z02 .z03 without .zip on LINUX

I have received several archives and they all have extensions of .z01 .z02 .z03 etc. There is no .zip file and no .z00 file. If I transfer these files to my Mac and run them through un-stuffit, it ...
1
vote
1answer
1k views

How to change Windows 7 zip icon

I have a strange problem with 7zip and default icons in windows-explorer for file-type *.zip. I know that setting and replacing icons for 7zip has already been thoroughly discussed on the net. I have ...