Hot answers tagged


To install p7zip using Homebrew, first update your brew formulae to be sure you are getting the latest p7zip. $ brew update Use Homebrew to install p7zip: $ brew install p7zip Add all files in the sputnik directory to the compressed file heed.7z: $ 7z a heed.7z sputnik Unzip heed.7z: $ 7z x heed.7z


To create the smallest standard ZIP file that 7-Zip can create, try: 7z a -mm=Deflate -mfb=258 -mpass=15 -r C:\Path\To\Files\* Source: How can I achieve the best, standard ZIP compression? Otherwise if you don't care about the ZIP standard, use the following ultra settings: 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z dir1 Which ...


Ok wow, I found the issue. In the process of adding security measures (like separating /tmp /var and others into their own partitions) I also added encryption to each partition. Naturally, seemingly random data after encryption will not compress well at all.


7zFM.exe is the main file you want Technically this is the "File Manager", but I would generally describe this as the "7-zip application" Use this .exe if you want to open a .7z (or other) archive, explore it's contents, extract all or some files/folders Use 7zFM.exe when double-clicking a .7z file and Windows asks you to choose a ...


You are probably using the 32bit version on a 64bit OS. Uninstall it and install the 64bit version. I have done this several times and that solution works for me.


You can press F9 inside 7-Zip, you'll get two panes. In the first you navigate to the archive you want to extract, and in the second you navigate to the folder where you want your files extracted. This will skip the temp folder step.


First you need to start 7-zip "as administrator" the first time you run it to assign the context-menu option. Otherwise 7-zip does not have the right to change anything. (I don't know why 7-zip does not do this during install when it already has admin-rights but i always need to do this after installing 7-zip) Then go to Extra / Options. In the first tab (...


As a follow-up to surfasb's answer, add a -r flag at the end to recurse: 7z e [] -o[outputdir] [fileFilter] -r Multiple filters support: 7z e [] -o[outputdir] [fileFilter_1] [fileFilter_2] -r Example: Multiple filters command line: 7z e -o outputdir *.xml *.dll -r PS: I use 7za.exe instead of 7z.exe. This is the ...


The problem is that the default is opening with 7zG (gui) while it should open with 7zFM (file manager). You can change this using a program like DefaultProgramsEditor Good luck.


The GNU Core Utils package (available here for Windows) includes the Split utility. The --help documentation is as follows: Usage: split [OPTION] [INPUT [PREFIX]] Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is `x'. With no INPUT, or when INPUT is -, read standard input. Mandatory arguments to ...


The kernel sources now contain a script for this, extract-vmlinux. You don't need to roll your own. See this SO answer.


7Z.exe versus 7Za.exe Comparison According to the Command Line Version User's Guide: "7za.exe (a = alone) is a standalone version of 7-Zip. 7za.exe supports only 7z, lzma, cab, zip, gzip, bzip2, Z and tar formats. 7za.exe doesn't use external modules." In contrast, according to 7z Format: "7z has open architecture, so it can support any new ...


The agreed solution is correct, but it actually doesn't help in explaining what you actually need to do!. I read this and many other solutions and I could not find full and complete simple instructions on how to do this. I you are confused like I was, please read my blog post which provides step by step instructions on how to achieve what Molly7244 has ...


After much experimentation, digging into the detailed 7zip documentation, and reading some of the 7z source code regarding the advanced LZMA2 parameters, here is a better method below. It reduced some 1GB real-world test files more than 2 to 4 times better than the previously accepted solutions posted here or even in the 7z manpage. 7z a -t7z -mx=9 -mfb=273 ...


7z v15.xx introduced some new switches: -slt - show technical information for l command -ba - suppress headers; undocumented. The output with these switches set looks like this: D:\TruLaLa> 7z l -ba -slt test.7z Path = 2.msi Size = 2005506 Packed Size = 638340 Modified = 2009-04-16 23:00:00 Attributes = CRC = B6FFF2FF Encrypted = - Method = LZMA:...


You can use the -bs command to control where output goes. To stop anything but error output, I would add -bso0 -bsp0.


7-zip does not store passwords on your computer, it does not have that feature. Your issue is actually a limitation of the ZIP format when creating encrypted ZIP files. The data is encrypted, but not the file names. You can prove this by trying to extract the contents of the ZIP file. It will fail unless you specify the correct password. If you want file ...


How do I fix this? I am getting the error: "Cannot create symbolic link : Access is denied" You need to run 7-Zip File Manager in administrator mode. Right-click the icon of 7-Zip File Manager, and then click "Run as administrator".


Can I pass these 3 files in a single step to create You can use the command line version of 7zip which is 7z. From a command line: 7z a -tzip destiny1.txt destiny4.txt destiny6.txt a - Adds files to archive. -tzip - Specifies the type of archive (we are creating a zip archive). Further reading 7zip Command Line Syntax ...


The Mac Archive Utility doesn't allow you to unzip large files, use the command line. unzip


There's nothing you can do in 7-Zip to prevent this. It is Chrome who downloads the file and opens it with its default application. At some point, Chrome was instructed to open ZIP files automatically after downloading. THis overrides the Ask where to save each file before downloading setting. There are at least three ways to revert this change: Open ...


Let's find out! 100 MB files (27 pieces): 7z a -tzip -v100M ./100m/archive ./kali-linux-xfce-2018.2-amd64.iso $ du ./100m/ 2677884 ./100m/ 10 MB files (262 pieces): 7z a -tzip -v10M ./10m/archive ./kali-linux-xfce-2018.2-amd64.iso $ du ./10m/ 2677908 ./10m Results: The 10 MB split archive takes up an extra 24 KB. So yes, there is a difference, ...


To avoid bug, use -r or -xr carefully. suppose you have directories like: .\path1\path2\bin .\path1\path2\src .\path3\path4\path5\bin .\path3\path4\path5\src and run the command: 7z a -t7z archive.7z .\path1\path2 .\path3\path4\path5 -xr!bin what you got in archive.7z: .\path2\src .\path5\src That is, the .\path2\ and .\path5\ became the top folder in ...


You cannot gzip multiple files. Create a tar file first then gzip.


How can I create a batch file that will password protect the compressed files? Use the -p option: -p (set Password) switch Specifies password. Syntax -p{password} {password} Specifies password. Examples 7z a archive.7z -psecret -mhe *.txt compresses *.txt files to archive.7z using password "secret". Also it encrypts ...


One can use 7-Zip to create segments of text file in certain size (e.g. 100 MB segments out of 1.5 GB log file). The Key options are - Use "Store" as opposed to "Compress" - Use "Split to volumes" You should be able to see text in .001 (.nnn) files.


If you can use .7z format rather than just .zip, I would simply use PPMD with the following options and leave everything else as set by the Compression Level: Archive Format: 7z Compression Method: PPMD Compression Level: Ultra I regularly compress server/text logs (60MB+) using these options and they usually come out at 1-2% of the original size.


7-Zip does not associate itself with the various compressed file types. To associate .zip file types with 7-Zip, do the following: Open the 7-Zip File Manager with Administrator Rights from your start menu Go to the tools menu and select options Either select the individual extensions you wish to associate or press the “Select All” button (recommended). ...


The accepted answer is not really correct, although possibly may work in some scenarios, is not the reason "why", and privilege doesn't really apply here. The problem is going to arise in most scenarios when unpacking a .tar.gz or other similar non-Windows file-system format. The problem is due to the order in which the files are being unpacked. In Linux ...


Is there a single command that allows extracting my_dir to a specified directory? Yes. Use the e option instead of x: 7za e -y archive.7z -o/path/to/target_dir my_dir (x is Extract with full paths) e (Extract) command Extracts files from an archive to the current directory or to the output directory. The output directory can be specified by -o (...

Only top voted, non community-wiki answers of a minimum length are eligible