December 17, 2017, 11:55:38 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: gunzip and ftp using a script @ a time  (Read 1529 times)

Offline shipoin_97

  • Tux Awared
  • **
  • Posts: 44
gunzip and ftp using a script @ a time
« on: March 19, 2009, 05:12:46 AM »
Friends ,

 Using the following script I can FTP a file from a remote machine but I cannot
gunzip that file at a time .The script is :

-----------------------------------
x=scott.dmp.gz
ftp -i -v -n 192.168.1.1 <<END_FTP
user oracle Oracle
binary
cd /dump
get $x
bye 
gunzip $x
-------------------------------------
Would anybody plz tell me , how can I gunzip that file using a one script .

Waiting for reply ... ...