Honored Contributor.. connection Honored Contributor..
Honored Contributor..
115 views

Extract Tar using OO

Hi All,

 

Is there any opreation to extract the tar file, would be more helpful if  there is any script as well.

 

 

Thanks

Lokesh

Labels (1)
0 Likes
3 Replies
Absent Member.. Sussan_Z_OO Absent Member..
Absent Member..

Re: Extract Tar using OO

Hello Lokesh, 

Regarding  your question you can use the operation named: SSH Command.

 

/Library/Operations/Remote Command Execution/SSH/v1.0/SSH Command

 

Please take a look its inputs:


host - Hostname or ip address.


port - The port number for running the command. It overwrites the port given inside the host input (in a syntax like host:port), if this exists.


command - The command to execute.


arguments - The arguments to pass to the command.


pty - Whether to use pty.
Valid values: true, false.
Default value: false.


privateKeyFile - The absolute path to the private key file on the RAS host. The private key file must be in OpenSSH format.
username - Username to connect as.


password - Password of user. If using a private key file this will be used as the passphrase for the file.


timeout - Time in milliseconds to wait for the command to complete.
Default value: 90000 ( 90 seconds ).


characterSet - The character encoding used for input stream encoding from the target machine.
Valid values: SJIS, EUC-JP, UTF-8.
Default value: UTF-8.


closeSession - If "false" the ssh session will be cached for future calls of this operation during the life of the flow. If "true" the ssh session used by this operation will be closed.
Valid values: true, false.
Default value: true.

 

I hope this information helps you,

Best Regards,

“Regards,
If you find this or any post useful to resolve the issue, please mark this thread as correct answer and other members can benefit with the information given
Sussan Zamora
SW Support Technical Consultant
San Jose, Costa Rica
hpe.com
Hewlett Packard Enterprise “
0 Likes
Honored Contributor.. connection Honored Contributor..
Honored Contributor..

Re: Extract Tar using OO

Hi
I want to extract in windows system. Any java script wil be useful.
0 Likes
Absent Member.. Sussan_Z_OO Absent Member..
Absent Member..

Re: Extract Tar using OO

Lokesh, 

Into the input named command, you can add the command that you want in order to extract from Windows (.tar file), so please take a look the following link that contains commands that you can use in order to extract the file .tar:

https://wiki.haskell.org/How_to_unpack_a_tar_file_in_Windows

I hope this information helps you,

Best Regards,

 

“Regards,
If you find this or any post useful to resolve the issue, please mark this thread as correct answer and other members can benefit with the information given
Sussan Zamora
SW Support Technical Consultant
San Jose, Costa Rica
hpe.com
Hewlett Packard Enterprise “
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.