Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!

Looking for something?

Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.

IPFire Community

Differences in Revisions: 7zip

»
Newer Revision
August 16 at 8:04 pm
fix code block & links & WP link
# 7zip
![](7ziplogo.png)
 
7-Zip is a file archiver with a high compression ratio. The program supports 7z, ZIP, CAB, ARJ, GZIP, BZIP2, TAR, CPIO, RPM and DEB formats. Compression ratio in the new 7z format is better than ratio in ZIP format.
 
 
## Installation
 
You can comfortably install 7zip over [Pakfire](/configuration/ipfire/pakfire) or via Console:
 
` pakfire install 7zip`
 
 
## Usage
 
There is **no web interface** for this Addon. To run this Addon open the client console or terminal and access the IPFire box via [SSH](/configuration/system/ssh).
 
 
To obtain a list of possible commands and switches:
`7z`
 
The output is similar to this:
```
```text
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)
 
Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
[<@listfiles...>]
 
<Commands>
`a : Add files to archive`
a : Add files to archive`
`b : Benchmark`
b : Benchmark`
`d : Delete files from archive`
d : Delete files from archive`
`e : Extract files from archive (without using directory names)`
e : Extract files from archive (without using directory names)`
`h : Calculate hash values for files`
h : Calculate hash values for files`
`i : Show information about supported formats`
I : Show information about supported formats`
`l : List contents of archive`
l : List contents of archive`
`rn : Rename files in archive`
rn : Rename files in archive`
`t : Test integrity of archive`
t : Test integrity of archive`
`u : Update files to archive`
u : Update files to archive`
`x : eXtract files with full paths`
x : eXtract files with full paths`
```
 
To **Add** files to an archive:
`7z a ~/myLogs.7z /var/log/`
 
To **List** files added to the archive:
`7z l -r ~/myLogs.7z`
 
**Links**:\\
[](wp>7-Zip)\\
##Links
* [7-Zip](https://en.wikipedia.org/wiki/7-Zip)
[7-zip.org](https://www.7-zip.org)\\
* [7-zip.org](https://www.7-zip.org)
[7z Format](https://www.7-zip.org/7z.html)\\
* [7z Format](https://www.7-zip.org/7z.html)