Rar unrar

From Bytesized Wiki

(Difference between revisions)
Jump to: navigation, search
m (Protected "Rar unrar" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))

Revision as of 09:39, 24 October 2011

Compressing/Extracting files on your slice


  • To extract files from a rar archive on the server, use this command:
unrar e SomeMovieChunkFile.rar

-e is for Extract files to current directory

  • To list files inside rar archive without extracting them:
unrar l file.rar

-l is for list (not a number β€˜one’)

  • To extract files with full path, type this command:
unrar x file.rar
  • To test integrity of archive file, type this command:
unrar t file.rar

-t is for testing integrity of archive


  • To create a rar archive on the server:
rar a -R myarchive  ~/folder_to_archive

-a adds files to archive, ~/folder_to_archive is the directory we want commpressed into rar archive

  • If you want to create a rar split archive:
 rar a -m5 -v5M -R myarchive ~/folder_to_archive

-m5 - determine the compression level (0-store (fast)...3-default...5-maximum(slow)) -v5M - determine the size of each file in split archive, in this example you get files with size 5MB (if you wanted files of 512kB size you would write -v512k)

Personal tools