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
ToyMaster
06-22-2006, 11:23 PM
Originally posted by avx
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:
# wget http://www.rarlab.com/rar/rarlinux-3.6.b5.tar.gz
Then
#tar -xzvf rarlinux-3.6.b5.tar.gz
Then
# cd rar
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
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.