Skip to Content
avatar image
Former Member

sm69/sm49

Hi,

We have a requirement for a unix command to unzip tar files from one of our directory. We have created a command in sm49 and when i execute it from sm69, it shows the files are unzipped, but doesnt put the files in the same directory, instead puts it in /usr/sap/SID/DVEBMGS<>/work.

The command i am using is: tar

parameter: -xvf

additional parameter: /<path to file>.

Is there some setting that has to be changed or the command has to be used differently?

Thanks in advance

Cyrus

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 21, 2006 at 05:07 AM

    Hi,

    \local directory for sap is work directory since DIR_HOME=
    work directory

    Samart

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I think it´s better you unzip directly into operating system, use the same command

      regards,

      Cristiano

  • avatar image
    Former Member
    Dec 26, 2006 at 11:48 AM

    Hi cyrus,

    Try this:

    tar -xvf <filename> -C <DIR>

    For more options of tar check the man pages or check this url.

    http://unixhelp.ed.ac.uk/CGI/man-cgi?tar

    Hope that helps,

    Regards,

    Siddhesh

    Add comment
    10|10000 characters needed characters exceeded