7za
File archiver with a high compression ratio. tldr-pages
On several platforms
Several platforms
File archiver with a high compression ratio. Similar to 7z except that it supports fewer file types but is cross-platform.
archive a file or directory
7za a path/to/archive.7z path/to/file_or_directoryIdentifyEncrypt an existing archive (including file names)
7za a path/to/encrypted.7z -ppassword -mhe=on path/to/archive.7zIdentifyExtract an archive preserving the original directory structure
7za x path/to/archive.7zIdentifyExtract an archive to a specific directory
7za x path/to/archive.7z -opath/to/outputIdentifyExtract an archive to stdout
7za x path/to/archive.7z -soIdentifyarchive using a specific archive type
7za a -t7z path/to/archive.7z path/to/file_or_directoryIdentifylist the contents of an archive
7za l path/to/archive.7zIdentifySet the level of compression (higher means more compression, but slower)
7za a path/to/archive.7z -mx=0 path/to/file_or_directoryIdentify