Actually the series of step is as follows:--
i)I m successfully able to ftp a .tar.gz file to a remote location.
ii)Question is how i untar it from script in host only.
I tried using rexec command.
rexec idm.adf.com(name of remote location) gunzip abc/def/something.tar.gz
So after this commad is executed,the .tar file is formed as abc/def/something.tar
But now when i try to unzip it there bu using
rexec idm.adf.com(name of remote location) tar -xvf abc/def/something.tar
The tar file is being formed at the home directory instead of the specifeid path.
Hope it helps.............Plz reply.........very few replies till date.......
Thanx
rahul26
|