Extract Split Archive via SSH

avx

Verified User
Joined
Oct 15, 2005
Messages
21
I recently downloaded a file from another website to my server and the file is splitted into 3rar parts each 100mb and its password protected.

How can I extract these files via SSH.

I googled it but foundnothing useful
 
avx said:
I recently downloaded a file from another website to my server and the file is splitted into 3rar parts each 100mb and its password protected.

How can I extract these files via SSH.

I googled it but foundnothing useful

Hi there, first off, if you haven't done this already, you need to start by downloading rar command line for linux. (I'm going to assume you are using linux).

To do this, is very simple. First SSH into your server, then su - to root, then:

Then
#tar -xzvf rarlinux-3.6.b5.tar.gz
Then
Then
# make install

Now, for the part you are probably most interested in, the command line, to unrar a multi-part encrypted archive is:

unrar x /full/path/to/file1.rar

(file1.rar being the first file of the 3 part archive)

at that point, it should query you for the archive password. There is a query "p-" used
unrar x p- /full/path/to/file1.rar
that's supposed to not prompt for the password, but I'm not sure where that would be usefull.

Hope this helps.

-Robert E. Plummer
PP&F NetWorks, LLC
 
Back
Top