 |
|
| |
7ZZ(1) |
FreeBSD General Commands Manual |
7ZZ(1) |
7zz - Standalone console version of the 7-Zip file archiver
7zz <command> [<switch>...]
<archive_name> [<file_names>]
[@listfile]
7-Zip is a file archiver with a high compression ratio. Supported
formats:
- Packing and unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM.
- Unpacking only: AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS,
IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS,
UDF, UEFI, VDI, VHD, VHDX, VMDK, WIM, XAR and Z.
- 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
You can supply one or more filenames or wildcards for special list
files (files containing lists of files). The filenames in such list file
must be separated by new line symbol(s). For list files, 7-Zip uses UTF-8
encoding by default. You can change encoding using -scs switch.
Multiple list files are supported.
For example, if the file "listfile.txt" contains the
following:
- My programs\*.cpp
Src\*.cpp
then the command
- 7z a -tzip archive.zip @listfile.txt
adds to the archive "archive.zip" all "*.cpp"
files from directories "My programs" and "Src".
xz(1)
Frequently Asked Questions: <https://www.7-zip.org/faq.html>
Recover corrupted 7z archive: <https://www.7-zip.org/recover.html>
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc.
|