wiki.ipfire.org

The community-maintained documentation platform of IPFire

User Tools

Site Tools


addons:7zip:start

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 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.

To obtain a list of possible commands and switches:

7z

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>...]
       [<@listfiles...>]

<Commands>
  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

Links:
7-Zip
7-zip.org
7z Format

Feel free to edit this wiki or post comments in the IPFire Forum.

addons/7zip/start.txt · Last modified: 2019/02/09 01:06 by Jon