Questions tagged [7-zip]

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

Filter by
Sorted by
Tagged with
7 votes
5 answers
20k views

Recursively unzip files where they reside, then delete the archives

I goofed up a setting on the backup software I use. Normally I would have the files from a network share get loaded into a spare drive, compressed into zip folders, then sent off to the offsite hub. ...
user avatar
0 votes
5 answers
7k views

Extract files with umlaut in 7zip file created under windows to Linux

I want to extract a large backup of my hard drive compressed with 7zip under Windows to my Debian Wheezy installation. I'm using the following command line: 7z x -pmypasswordhere file.7z If there's ...
The Wavelength's user avatar
0 votes
1 answer
324 views

7zip archive is too large when using -x

I am compressing a dir into a zip, and use several -x switches. 7z a -tzip -x!.\test1.gadget\.git\* -x!.\test1.gadget\.gitignore test1.zip .\test1.gadget\* 7-Zip [64] 9.22 beta Copyright (c) ...
Number8's user avatar
  • 259
5 votes
1 answer
3k views

7z getting an event not found error in command line

I am using 7zip on my centos machine and ziping a file via command line. This is my syntax 7za a -t7z backup.7z public_html\ -mx0 -xr!restricted_area What i'm expecting with this syntax is to ...
PinoyStackOverflower's user avatar
5 votes
2 answers
10k views

7zip filename encoding problems

I have problems extracting files from 7zip archive with non-ascii symbols in filenames. I have identical versions of 7z on two computers, which differ only by the system locale. If I compress on one ...
lizarisk's user avatar
  • 171
0 votes
1 answer
100 views

Specify archive-to directory in 7z

I'm running 7z a from the command line and wish to specify the directory which the archive .7z file is to be in. I don't see, from the man page, a way to do this (and -o and -w don't do it). Is there ...
msh210's user avatar
  • 225
0 votes
2 answers
11k views

How to open big tar.gz file

I created a big tar.gz file, following this guide. It is a daily backup file. My computer has 3 GB of RAM and is running Windows 7. My biggest archive is 183 GB, containing pictures and documents. ...
indra dharmajaya's user avatar
2 votes
1 answer
3k views

Is it possible to recursively list zip file contents with 7 zip without extracting

Similar to this question I have a very large zip file which contains other zip files, folders, and files. I want to use 7-zip to extract a list of file names from it, recursing into subfolders and zip ...
Simon D's user avatar
  • 6,721
1 vote
5 answers
3k views

Automatically extracting text files via commandline and combining them into a single text file

In-Depth Explanation of Problem: I'm trying to automate a process on my computer and having some difficulty. Each day, I'm emailed a zip file that contains a txt file. I have a script in place that ...
Kris's user avatar
  • 11
1 vote
1 answer
370 views

How to archive using the shell extension and still exclude files with 7zip?

How can I exclude files from archiving in 7-zip's "Add to Archive" dialogue? I know how to do this from the command line, but it doesn't seem possible from the "Add to Archive" dialogue. I thought ...
Adrian's user avatar
  • 612
1 vote
1 answer
2k views

How do I use 7-zip AND from SPECIFIC folder backup only the config.xml files

I have a Jenkins Server which I want to Backup using 7-zip. I want to backup the full C:\JENKINS with all the sub directories with only one exception. The exception is that from the JOBS folder I ...
GorovDude's user avatar
  • 367
4 votes
1 answer
6k views

how to "preserve internal directory structure" when unzipping on windows?

I'm tring to build boost, in instructions I've read When you extract the library from its zip file, you must preserve its internal directory structure (for example by using the -d option when ...
Oleg Vazhnev's user avatar
0 votes
1 answer
2k views

7zip update split archive [duplicate]

I am using the gui So I have a split archive in format archive.7z.01 archive.7z.02 archive.7z.03 I want to update them to match the folder being compressed but I get the error "The file exists"
wonton's user avatar
  • 385
12 votes
6 answers
104k views

7-Zip not working from the DOS prompt or command line?

I have 7-Zip installed, and it works from Windows, but not from the DOS prompt or command line: 7z e max_logs_can_messages.tgz Yields: '7z' is not recognized as an internal or external command, ...
jdl's user avatar
  • 243
4 votes
3 answers
21k 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 ...
vertigoelectric's user avatar
2 votes
2 answers
8k views

How to zip multiple folders in 7zip?

I have a folder, lets say, MAIN. Inside this folder, there are many folders(say f1,f2,f2...) which has subfolders and files in them. Now I need to zip these folders(f1,f2,f3...) and their contents (...
pras92's user avatar
  • 81
60 votes
3 answers
37k views

How do you register the 7-Zip GUI program with the .7z extension in Windows?

For whatever reason, the 64-bit Windows Installer doesn't seem to register the .7z file extension with the 7-Zip GUI (or with anything, as far as I can tell). How do I go about doing it. A simple "...
Clayton Hughes's user avatar
3 votes
3 answers
12k 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 ...
Carrie's user avatar
  • 31
2 votes
1 answer
10k views

Create an archieve with current date and time in file name using 7z command line

Today I lost my whole Far Cry 3 save game suddenly. So now I want to backup it's save game folder automatically on a certain period of time using windows task scheduling. I want to include date and ...
shashwat's user avatar
  • 244
0 votes
1 answer
4k views

How do I zip a folder with 7-zip but not subfolders of that folder?

For instance, if I wanted to zip everything in My Documents, but not subfolders in My Documents, and I also did not know the name of each subfolder.
NobleUplift's user avatar
  • 1,595
9 votes
6 answers
133k views

Extracting a Zip file with Japanese characters in the archive’s filenames?

I'm trying to extract files from a zip file on Windows 7. The filenames are in Japanese, but they just look like éñé▀é─é±é─ü[é╓é┐éσèGòùé▄é╟é⌐üÖâ}âMâJâZâbâg20110423. They include a 3D model file and it'...
Zelda64fan's user avatar
2 votes
4 answers
7k views

Windows 7 Explorer Preview Pane for zip files

I was wondering if there is a possibility to add .zip file to the explorer preview pane (Windows 7 64 Bit). For example if a folder contains a .zip file i would like to see the content of the .zip ...
Devid's user avatar
  • 6,367
262 votes
4 answers
317k views

How can I install 7zip so I can run it from Terminal on OS X

I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
Paul Sheldrake's user avatar
19 votes
6 answers
89k views

How do I archive with subdirectories using the 7-Zip command line? Or, how do I KEEP the folder structure while archiving?

I have a bunch of files like this: C:\G\G1\35antique-shop.mp3 C:\G\G2\35antique-shop.mp3 C:\G\G1\09saguri.mp3 C:\G\G2\09saguri.mp3 I just want to know how to keep the folder structure while ...
PrincessPooleRulz's user avatar
1 vote
1 answer
2k views

How to use 7z with variables inside a linux script?

For example: 7za e -y $file_name -o$dest_directory This works fine, when run directly from command line, but within the script it gives this error: could not find archive (No archive by that ...
Bhavya Maheshwari's user avatar
22 votes
4 answers
44k views

Incremental backup with 7zip

I have googled and searched, but can't find the command that 7zip command line utility uses for making incremental backups. So can someone please share the command ? Thanks btw I found this link: ...
gyaani_guy's user avatar
17 votes
2 answers
23k 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 -...
Banjer's user avatar
  • 447
1 vote
1 answer
724 views

7-zip not in Explorer++ context menu

I use both 7-zip and Explorer++ quite a bit, but I can't seem to get Explorer++ to show the context menu items for 7-zip, like the Windows Explorer does? Am I missing something? In Windows Explorer ...
Chris O's user avatar
  • 289
1 vote
1 answer
6k views

7zip command line - extract all files in a folder except *.exe

I am using the command: 7z.exe x -y -o<dir> <archive dir> * -aoa -r to extract all archives that are located in the archive directory. I am running into a problem where exe files that ...
mruno's user avatar
  • 11
5 votes
3 answers
20k views

7zip command line options for more information when synchronizing

In the 7zip command line options, is there some argument that can make 7z output the files ignored/deleted from the archive too? (files ignored by the option -uq0) Example call: "C:\Program Files\7-...
VSP's user avatar
  • 121
1 vote
1 answer
707 views

7-zip alternative for mac os (that allows editing within the zip)

I've been using 7-zip in Windows, and looking for its alternative for Mac OS. Various tools I tried able to open/archive/extract, but I can't update it within the tool itself, like dragging and drop ...
Robert A Henru's user avatar
1 vote
1 answer
99 views

Let 7Zip install in same directory without subdirectory

When using 7Zip to extract a zip file, it always creates a subdirectory I want to avoid to create. The zip file: C:\Test.zip The content files in zip file: `ReadMe.txt` The Commandline: x "C:\...
Nasenbaer's user avatar
  • 598
1 vote
0 answers
155 views

7zip - How to overwrite a existing file? [duplicate]

Possible Duplicate: How can I overwrite an existing file in 7zip? I'm trying this: 7za.exe a "C:\Disc.7z" "C:\test" -v20000000b -m0=BCJ -bd But if I already have created the file "C:\Disc.7z" ...
ElektroStudios's user avatar
9 votes
5 answers
36k views

How can I overwrite an existing file in 7zip?

I'm trying this: 7za.exe a "C:\Disc.7z" "C:\test" -v20000000b -m0=BCJ -bd But if I already have created the file C:\Disc.7z then 7zip doesn't compress anything and sends me this output: System ...
ElektroStudios's user avatar
5 votes
4 answers
19k views

Why should I prefer 7zip over WinZip in Windows environment? [closed]

I know Winzip is not free and 7-zip is free . Other than this is there any reason why I should use 7ZIP over Winzip for compression ? I am using Windows 7 .
Geek's user avatar
  • 1,581
4 votes
1 answer
14k views

Unpack NSIS executable

I am trying to decompress a NSIS executable. With the GUI version of 7zip I am able to do this and the exe is listed as: Type = Nsis Method = LZMA:25 Solid = + With the command line version 7za I ...
antonio's user avatar
  • 947
2 votes
2 answers
9k views

Is SecureZip compatible with any other ZIP programs?

I put some files into an encrypted archive with Secure Zip (was using a computer at another organization) and emailed them to some people. None of them have Secure Zip (nor do I on any of my own ...
Mark E. Haase's user avatar
6 votes
2 answers
10k views

Synchronizing files using 7-Zip and the CLI

On the command line, 7-Zip has the command 'a' to "Add files to archive". But I want to synchronise the files instead. This is one of the main options in the GUI, but the CLI has disregarded it for ...
Twinbee's user avatar
  • 550
0 votes
1 answer
2k views

How to rename and extract all file?

Looking for a .bat to rename and extract all. The folder is d:\EJ\%dd%-%mm%-%yyyy%\ (multiple files) K02699_ej.zip K02702_ej.zip K02703_ej.zip K02704_ej.zip K02705_ej.zip Rename to K02699.zip ...
Dheerapong Ountantaeyanont's user avatar
5 votes
2 answers
31k views

How to write error status for command line 7-zip in variable (or, instead, in text file)

I use 7-zip (in my batch files) to pack some directory and send archive by email. When I use some file in this directory at the same time the batch file is running (I start the batch files with Task ...
slesar.mira's user avatar
0 votes
2 answers
2k views

Split zip archive containing folders now contains "corrupt" zip archive

I zipped and split two folders with 7zip, so I got File.zip.001 to File.zip.010. I renamed them to Foo.zip.001 to Foo.zip.010, and if I open them now, they only contain a "Foo.zip" file. Upon ...
onolio's user avatar
  • 1
39 votes
4 answers
66k views

7-zip cannot open file on double click

I have installed 7-Zip on my machine and associated it with serveral archive file types. When double clicking an archive (so far I have tried .zip, .7z and .bz2 files), a message box pops up telling ...
Chris's user avatar
  • 963
2 votes
1 answer
4k views

Read only attribute of folders can't be removed

I have a ZIP file containing an Eclipse workspace. When I unzip it, all the extracted folders have read only attribute set to true. When I uncheck "read only" in properties dialog and click ...
Rasto's user avatar
  • 139
1 vote
1 answer
6k views

pfSense iso.gz doesn't seem to be a compressed iso image

I downloaded the latest pfSense ISO (pfSense-2.0.1-RELEASE-i386.iso.gz) and had 7zip extract it, but it just shows me the disk contents. I cannot extract the actual ISO file to burn it with the boot ...
Jeremy Holovacs's user avatar
1 vote
1 answer
1k views

Compressing bigger than 1GB files seems not to work

I tried my best to compress some videos, about 1.4GB each. I tried to compress them separately, "tarring" (using tar) them and then compress, everything. I'm on OS X Lion and I did try the ...
user avatar
2 votes
2 answers
13k views

How to extract and erase the original compressed file on Windows 7?

Given a compressed file, how can I extract the file contents and erase the original compressed file?
a_maar's user avatar
  • 219
2 votes
0 answers
2k views

Can you fix a corrupted 7z file?

So, I had a cd, with a scratch on it. The cd contained a 7z file. When I try to copy the file it gave me an error, so I used corrupted disk repair fixer and I managed to open the 7z, and view the ...
user avatar
0 votes
1 answer
267 views

7Zip add string to zip name

I have a 7zip command line process that zips by date and its works well. The command creates a zip file with date IE 20121019.zip. However Id like to add a string to the file name. for example ...
user1741381's user avatar
3 votes
2 answers
11k 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.
DigitalClark's user avatar
1 vote
1 answer
1k views

7-Zip: Create a zip file from a subdirectory, with the same name as the subdirectory itself

I have a unique situation where I need the following folder structure (Windows) X:\LOGS\PRIMARY\YEARMONTHDAY e.g., X:\LOGS\HS\20121010 Folders are created every morning. Essentially I'd like to ...
Tal's user avatar
  • 11

1
11 12
13
14 15
17