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

learn more… | top users | synonyms (1)

6
votes
2answers
5k views

Symbolic links and 7zip

I'm trying to compress a folder into a .7z archive. This folder contains symbolic links to some other stuff outside the folder (both directories and files). Apparently 7zip just archives the link ...
-1
votes
0answers
20 views

7-zip working with files starting with @

All is good with archive-of files/folder that start with "@"... Until extract, and want to select the file/folder. putting it in the <<list>>list_file> ::= @{filename} syntax makes it ...
0
votes
0answers
7 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 ...
7
votes
6answers
5k views

Is it safe to store my passwords in an encrypted .7z/.zip by 7-zip?

Here is what I do: Type in all kinds of passwords in an excel file (.xlsx) Zip it with a password by 7-zip AES 256 length > 8 combination of A-Z a-z 0-9 symbols different from ...
0
votes
0answers
25 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 ? ...
-1
votes
1answer
231 views

How to rename 7-Zip split files as name_00N.zip instead of name.zip.00N

On Windows, when I create .zip split files with volumes less than 20MB with a command like: 7z a name.zip files\* -v20M I get one or more files named name.zip.001, name.zip.002, etc. I need to ...
-2
votes
0answers
18 views

Use powershell/7za.exe to extract multiple zip files [closed]

The following code ls *.zip | % { c:\bin\7za.exe e $_ -o..\..\unzipped } got the following error messages. Error: Incorrect command line Error: Incorrect command line Error: Incorrect command ...
0
votes
1answer
3k views

Incorrect parameter error when using 7-zip from the command line in Windows

I am running the following command: 7z.exe a -t7z -m9=LZMA2 test.7z test.txt However, I get this error: System error:The parameter is incorrect. The error only occurs if I use the -m9=LZMA2 or ...
2
votes
1answer
3k views

How to add files to specified folder in archive with 7zip command line

I have folders and files on my disk C:\builds\main.exe D:\components\a\testa.exe D:\components\b\testb.exe D:\components\c\testc.exe D:\dependencies\abc.dll Can I create an archive with 7z command ...
-1
votes
0answers
37 views

How to manually add shell integration for 7zip on Win7 64bit?

My company insists I use a company-provided installer for 7zip. I'm running Win 7 64 bit. The installer has been marked to be 64bit ready. However, it doesn't install the shell extensions properly ...
1
vote
2answers
2k views

7-zip command line -p switch not working according to help page

I want to be able to automate the encryption of the file type .pcapng in a windows batch script. My current problem is that I get an error when extracting the encrypted file saying something along the ...
2
votes
1answer
36 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
3k views

7-Zip: Unsupported Compression Method while trying to extract a zipx file that consists of JPEGs

A zipx file I received consists of .csv files and .jpeg files. I used 7-zip to extract them. While the .csv files were sucessfully extracted, the JPEG files didn't. The error was something like this ...
1
vote
1answer
26 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 ...
0
votes
1answer
38 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
3answers
2k views

How can I create a batch job (.bat) that zip a folder?

From 7zip I've downloaded their command line tool 7za.exe, and I have to following script: echo off cls set zip ="C:\7za.exe" set filename="%date%.backup.zip" set pathtobackup="C:\MyDocs" %zip% ...
-1
votes
1answer
33 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? ...
-2
votes
0answers
39 views

7-zip encrypted file corruption - How to recover file?

I have an uncompressed but encrypted 7z archive. If I manually corrupt a byte in there using a hex editor, 7zip will say that it can't decrypt the specific file containing the error (but it will ...
1
vote
1answer
28 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 ...
8
votes
4answers
5k views

How can I control the order of files in a ZIP archive?

There are times when it is necessary for the files in a ZIP archive to be in a specific order (for example, I'm currently creating EPUBs, which require that the first entry in the ZIP be the mimetype ...
3
votes
3answers
912 views

Automatically extract and rename extracted file according to archive's name

I have a bunch of zip files in a folder. Each zip file has a file in it named exp_1.txt. I would like to unzip each zip file and rename the extracted file from each zip file to what the zip file was ...
0
votes
2answers
29 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 ...
5
votes
1answer
2k views

7-zip files on Linux with AES-256 encryption

I have a requirement to zip up some files in Linux with 7zip using AES-256 encryption. The end user will be opening in Windows with 7zip. I'm using the following command: 7za a myfile.zip test.txt ...
18
votes
2answers
33k views

Is it possible to execute a file after extraction from a 7-Zip self-extracting archive (SFX) archive?

I'm try to make a compressed deploy-able application. Currently I'm taking a set of files that I've published from my IDE (Visual Studio 2008 - WPF published application) and compressing ...
0
votes
0answers
23 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
29 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
19 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
73 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
0answers
28 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 ...
1
vote
2answers
3k views

How do I add files from a directory to a .zip-File using the 7zip command line?

I am using the 7zip command line to zip-up files. How can I add all files and subdirectorys from a folder to a zip file (.jar archive file)? I used: 7zip.exe a -t7z file.zip C:\folder Thank you.
3
votes
4answers
6k views

How to search the content of 7-Zip archives (.7z)?

I am looking for a way to search the content of files inside of a 7-Zip archive (.7z) without having to unpack the archive. I have many 7-Zip archives with code inside them and I'd like to search ...
0
votes
1answer
112 views

How can I have a custom 7Zip batch script work like the “add to archive…” context menu action of 7Zip?

I am trying to figure out a way to select several files and folders in Windows Explorer and add them to a password protected .zip archive using a batch script, 7zip and a custom context menu item. ...
2
votes
4answers
916 views

How resilient is the .7z file format?

I'm intended to package up quite a lot of data in to archives so that I can store them using an on-line file storage service and to various local backups - the intention being that this will be fairly ...
4
votes
3answers
8k views

What is encryption loss when unzipping?

When I drag files from a .ZIP file my friend sent me, it barks: Do you want to copy this folder without encryption?` A problem is preventing that folder from being encrypted. What's ...
0
votes
0answers
58 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
33 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 ...
0
votes
2answers
49 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 ...
8
votes
4answers
13k views

7-zip & Windows 7: Make “Extract to <folder>” default on double-click

I'm trying to find a way to make the action you can perform from the context menu, "Extract to <folder_same_as_file_name>" the default action when double-clicking the file instead of simply ...
0
votes
0answers
21 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 ...
2
votes
2answers
36 views

How do I pipe 7za output directly to psql?

I have a Postgres database dump in a .7z archive. I can extract it and import it with: 7za e dump.7z dump psql -h localhost db_name < dump but I'm just running out of disk space. What is the ...
1
vote
0answers
131 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
43 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
28 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
71 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 ...
0
votes
2answers
2k views

How to recursively extract all .tar and .tgz file zipped in a .tgz file using 7zip command line version

I'm using 7zip cmd line version in my app (written in Python on Win 7 box) to extract .tgz files. Although I'm using the -r switch, the .tar and .tgz subdirectories are not extracted. Can someone tell ...
2
votes
3answers
458 views

bat file behaves differently when run from windows scheduler

I have a .bat file S:\BACKUP_db\copytofileserver.bat, which takes some files and zip them to the network drive. Its first command is to delete the old backup at specific network path, then pack the ...
1
vote
2answers
209 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
3answers
1k views

Can I get the black and white 7zip filetype icons back?

I've been using 7-zip for a long time. Any archive that 7-zip recognizes was given a black and white [7z] icon. I just switched from Win7 32 bit to Win7 64 bit, and when I reinstalled 7-zip all of ...
1
vote
1answer
321 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 ...
1
vote
1answer
68 views

Zipping Sub-folders

I want to use 7-Zip to zip subfolders to another folder on the same drive. Each sub-folder has zillions of text files. I just want to zip subfolder as a whole via Powershell. I have a script but ...