Back to wiki
Bytesized Hosting

Rar Unrar

Name: rar-unrar

Last reviewed by: Clipper, April 2026


Compressing and extracting files on your Appbox

This page is for users who prefer to handle archive extraction manually rather than using Filebot, which handles extraction automatically by default.

Both rar/unrar and 7z are pre-installed on your Appbox.

RAR / UNRAR

Extracting

Extract files to the current directory:

unrar e SomeMovieChunkFile.rar

Extract files preserving full directory structure:

unrar x file.rar

Extract to a specific destination folder:

unrar x file.rar /path/to/destination/

Extract a password-protected archive:

unrar x -psomepassword file.rar

Extract from multiple sub-folders recursively (e.g. DVD1/somefile.rar, DVD2/somefile2.rar):

unrar x -r *.rar

List files inside an archive without extracting:

unrar l file.rar

Test the integrity of an archive:

unrar t file.rar

Compressing

Create a RAR archive from a folder:

rar a -R myarchive ~/folder_to_archive

Create a split RAR archive with maximum compression (5MB parts):

rar a -m5 -v5M -R myarchive ~/folder_to_archive
  • -m0 to -m5 — compression level (0 = store/fast, 3 = default, 5 = maximum/slow)
  • -v5M — split into 5MB parts (-v512k for 512KB parts)

Split a large file into 50MB parts and delete the original:

rar a -v50m -df archive_name big_file_or_dir
  • -v50m — 50MB part size
  • -df — delete original after archiving
  • Parts will be named archive_name.part1.rar, archive_name.part2.rar, etc.

Tip: Splitting a large file before FTP transfer allows multiple simultaneous connections, significantly improving download speed. See the FTP Guide for more details.

7-Zip

7z is a versatile archiver supporting many formats including .7z, .zip, .tar, .gz, .rar (extraction only), and more.

Extracting

Extract to the current directory:

7z e file.7z

Extract preserving full directory structure:

7z x file.7z

Extract to a specific destination folder:

7z x file.7z -o/path/to/destination/

Extract a password-protected archive:

7z x -psomepassword file.7z

List contents of an archive:

7z l file.7z

Test the integrity of an archive:

7z t file.7z

Compressing

Create a .7z archive:

7z a archive.7z ~/folder_to_archive

Create a .zip archive:

7z a archive.zip ~/folder_to_archive

Create a split archive with 50MB parts:

7z a -v50m archive.7z ~/folder_to_archive

Set compression level (0 = store, 9 = maximum):

7z a -mx=5 archive.7z ~/folder_to_archive
Last Author
Clipper
Contributors
None
Versions
13
Last Update
Sat, 11 Apr 2026 21:26:57 +0200