Run mv command from ftp shell script
Hi all,
I am taking log files every 15 min from remotemachine.
My code is ;
FRONTEND_HOME=/home/hai/jjsjs/Frontend_log
cd /dsd/sds/sdsds/FrontEnd
ftp -n 10.22.144.32 << END_INPUT >> /root/scripts/tracking/ftp_frontend.log 2>&1
user hai hai
asc
cd $FRONTEND_HOME
prompt
mget logger.log.*
bye
END_INPUT
But i need to move the logfiles to other directory(from remotemachine) after my "mget" command .. i tried mv command but its not working ... Help will be highly appreciated..
Thanks
Subin
|