mirror of https://github.com/CrimsonTome/tldr.git
933 B
933 B
7za
File archiver with a high compression ratio. Similar to
7z
except that it supports fewer file types but is cross-platform. More information: https://www.7-zip.org.
- [a]rchive a file or directory:
7za a {{path/to/archive.7z}} {{path/to/file_or_directory}}
- Encrypt an existing archive (including file names):
7za a {{path/to/encrypted.7z}} -p{{password}} -mhe=on {{path/to/archive.7z}}
- Etract an archive preserving the original directory structure:
7za x {{path/to/archive.7z}}
- Etract an archive to a specific directory:
7za x {{path/to/archive.7z}} -o{{path/to/output}}
- Etract an archive to stdout:
7za x {{path/to/archive.7z}} -so
- [a]rchive using a specific archive type:
7za a -t{{7z|zip|gzip|bzip2|lzip}} {{path/to/archive.7z}} {{path/to/file_or_directory}}
- [l]ist the contents of an archive:
7za l {{path/to/archive.7z}}
- List available archive types:
7za i