mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
rar: add page (#3414)
This commit is contained in:
parent
094242edc6
commit
d290603c44
1 changed files with 27 additions and 0 deletions
27
pages/common/rar.md
Normal file
27
pages/common/rar.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# rar
|
||||
|
||||
> 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}}`
|
||||
|
||||
- Archive a directory:
|
||||
|
||||
`rar a {{path/to/archive_name.rar}} {{path/to/directory}}`
|
||||
|
||||
- Split the archive into parts of equal size (50M):
|
||||
|
||||
`rar a -v50M -R {{path/to/archive_name.rar}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Password protect the resulting archive:
|
||||
|
||||
`rar a -p{{password}} {{path/to/archive_name.rar}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Encrypt file data and headers with password:
|
||||
|
||||
`rar a -hp{{password}} {{path/to/archive_name.rar}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Use a specific compression level (0-5):
|
||||
|
||||
`rar a -m{{compression_level}} {{path/to/archive_name.rar}} {{path/to/file_or_directory}}`
|
Loading…
Add table
Reference in a new issue