November 23, 2024, 02:27:08 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: gunzip and ftp using a script @ a time  (Read 6022 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 ... ...