rar
The RAR archiver. tldr-pages
On several platforms
Several platforms
The RAR archiver. Supports multi-volume archives that can be optionally self-extracting.
Archive 1 or more files
rar a path/to/archive_name.rar path/to/file1 path/to/file2 path/to/file3 ...IdentifyArchive a directory
rar a path/to/archive_name.rar path/to/directoryIdentifySplit the archive into parts of equal size (50M)
rar a -v50M -R path/to/archive_name.rar path/to/file_or_directoryIdentifyPassword protect the resulting archive
rar a -ppassword path/to/archive_name.rar path/to/file_or_directoryIdentifyEncrypt file data and headers with password
rar a -hppassword path/to/archive_name.rar path/to/file_or_directoryIdentifyUse a specific compression level (0-5)
rar a -m0..5 path/to/archive_name.rar path/to/file_or_directoryIdentify