Find the answer to your Linux question:
Results 1 to 4 of 4
Hi there Im trying to unpack some .rar files. This is how i try to do it. I'm in the directory where the files are and i type the following ...
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    36

    I would need a little advice

    Hi there
    Im trying to unpack some .rar files.

    This is how i try to do it. I'm in the directory where the files are and i type the following

    download# unrar -x FILENAME.part1.rar home/michael/

    And this is what i get in return. But i see no unpacked file in that archive.

    unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers


    Extracting from /home/michael/unpacked/download/FILEHNAME.part1.rar

    Skipping FILENAME/dragracing.mp4
    All OK
    xxx-xxx-xxx-xxx:/home/michael/unpacked/download#


    Is there some error in the syntax ? the whole package consists of 8 rar files FILENAME.part1.rar, FILENAME.part2.rar, FILENAME.part3.rar
    etc.

    Does the crc check detect the other files rar files that belong to the same package ?

  2. #2
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    358
    Code:
    unrar -x FILENAME.part1.rar home/michael/
    is incorrect. Try
    Code:
    unrar -x FILENAME.part1.rar /home/michael/
    Notice the slash before home on the latter. Without the slash, you're telling unrar to extract the files to a subdirectory tree of "home/michael" directly below the directory you're in.

  3. #3
    Just Joined!
    Join Date
    Oct 2011
    Posts
    36
    Hi there sgosnell and thanks for your time and answer.

    Yes i did notice the / before/

    I still wasnt able to unrar the files. I Suspect that it might be more a thing with the version on the actual rar package and that it it not supported.

    Since i'm fairly new to linux atleast i did learn the correct syntax. I'm also sure that i tried to write it that way also, but since i havent been able to unpack it i did try many different syntaxes.

    The rar file it self aint that important. but i just dont like to give up, with out tried all possibilities.

    One again thanks for your time sgosnell

  4. #4
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    358
    I don't actually use unrar very often, so I'm not certain of the exact syntax. I normally use tar, which will extract most archive types, or the gui archive manager, which most distros have. I don't know what distro you're running, so I don't know what archive manager you have.

    If you just want to learn unrar, use "man unrar" and "man rar" in a terminal, which will give you the man pages, or manual, for it. You can man most packages. You can scroll up and down as you like, and when you're done press 'q' to quit. Reading man pages can be very instructive.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...