#!/bin/sh time=`date +%y%m%d` ftp -v -n 10.32.2.49<<EOF user oracle passwd*** prompt off bin cd /orabackup/exp_unicode lcd /orabackup/expun put unicode_bak${time}.dmp put unicode_bak${time}.log bye EOF /bin/rm -f /orabackup/expun/unicode*`date --date='10 days ago' +'%y%m%d'`*.log |