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

added info to Usage
# 7zip
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 command. To run this command 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:
The output is similar to this:
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>...]
`a : Add files to archive`
`b : Benchmark`
`d : Delete files from archive`
`e : Extract files from archive (without using directory names)`
`h : Calculate hash values for files`
`i : Show information about supported formats`
`l : List contents of archive`
`rn : Rename files in archive`
`t : Test integrity of archive`
`u : Update files to archive`
`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`
[7z Format](https://www.7-zip.org/7z.html)\\