rar help on ubuntu

Discussion in 'Tech Support' started by mrizz18540, May 16, 2009.

SubbyShare
  1. mrizz18540

    mrizz18540 New Member

    hi i have been using ubantu for about a week now and i downloaded some rar files from this site and i tried to combine them but it didnt work . i have unrar installed . what is the syntax to do it from the terminal i have them saved in the documents folder. the name is rwrk28201-52000.part01.rar and there are 17 rar files.

    Thanks
  2. akuma2002

    akuma2002 Moe is my life!

    type unrar --help and all the possible syntaxes will be displayed. (Well, i think it's what i can remember for my small linux experience)
  3. sportacus

    sportacus New Member

    Navigate to where the files exist;e.g
    Code:
     cd /home/mrizz18540/documents/ 
    (hint: use tab auto-completion when navigating into deep layered directories for a more simpler life)or for short, providing the folder begins in your home path
    Code:
    cd ~/documents
    then to extract into the current directory execute
    Code:
    unrar x rwrk28201-52000.part01.rar
    to extract into a different location simply add it after the specified archivee.g
    Code:
    unrar x rwrk28201-52000.part01.rar /home/mrizz18540/videos/
    If password protected it may ask you to enter the password many times for each archive so in this situation the -p switch comes in handy.the password in this example is A-O (case sensitive)
    Code:
    unrar x -pA-O rwrk28201-52000.part01.rar /home/mrizz18540/videos/