Announcement

Collapse
No announcement yet.

unrar to specific location

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    unrar to specific location

    i download a .rar to my desktop: ~/desktop/foo.rar
    i want to extract it to: ~/music/foomusic
    how do i do this using konsole?

    unrar ~/music/foomusic ~/desktop/foo.rar didn't work.

    thanks.

    #2
    Re: unrar to specific location

    man unrar tells:
    UNRAR(1) RAR archiver UNRAR(1)

    NAME
    unrar - extract files from rar archives

    SYNOPSIS
    unrar <command> [-<switch 1> -<switch N>] archive [files...] [path...]

    DESCRIPTION
    This manual page documents briefly the unrar command.
    This manual page was written for the Debian GNU/Linux distribution
    because the original program does not have a manual page.
    Commands and options described here are as of unrar 2.02.

    OPTIONS
    After the program name comes a command and then optional switches with
    dashes before them. A summary of commands is included below. For a
    complete description, run unrar without options.

    e Extract files to current directory.

    l List archive content.

    ...

    You can get info of commands in the konsole: man <command>
    Code:
    :~$ man man
    will tell:
    MAN(1) Manual pager utils MAN(1)

    NAME
    man - an interface to the on-line reference manuals

    SYNOPSIS
    man [-c|-w|-tZ] [-H[browser]] [-T[device]] [-X[dpi]] [-adhu7V] [-i|-I]
    [-m system[,...]] [-L locale] [-p string] [-C file] [-M path] [-P
    pager] [-r prompt] [-S list] [-e extension] [[section] page ...] ...
    man -l [-7] [-tZ] [-H[browser]] [-T[device]] [-X[dpi]] [-p string] [-P
    pager] [-r prompt] file ...
    man -k [apropos options] regexp ...
    man -f [whatis options] page ...

    DESCRIPTION
    man is the system’s manual pager. Each page argument given to man is
    normally the name of a program, utility or function. The manual page
    associated with each of these arguments is then found and displayed. A
    section, if provided, will direct man to look only in that section of
    the manual. The default action is to search in all of the available
    sections, following a pre-defined order and to show only the first page
    found, even if page exists in several sections.
    and in the konqueror: man:<command>
    man:man will tell:
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: unrar to specific location

      yes......i have read the man page and the output of "unrar" without arguments in a terminal and didn't see anything that told me how to extract to a specific location...... the x command "extract files with full path" ......what does that mean i guess i will just try all the combinations until i find the correct one without any help from all the linux power users here on this forum. thank you for all your help.

      Comment


        #4
        Re: unrar to specific location

        The command would be, from the location of the .rar file:
        Code:
        unrar x foo.rar ~/music/foomusic
        This assumes that when you open a konsole shell, you have changed into the directory where the .rar file is. Otherwise, with an open konsole, type:
        Code:
        unrar x ~/desktop/foo.rar ~/music/foomusic
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: unrar to specific location

          thanks for the reply Snowhog !
          now i know....and knowing is a good thing.

          Comment

          Working...
          X