備忘錄AIX主機下用SHELL腳本編寫FTP傳某個目錄下的文件到LINUX主機

$ more ftp_backup_to_remote.sh oracle

#!/usr/bin/kshide

ftp -n<<!rem

open 192.168.89.10it

user oracle oracleio

binaryclass

cd /backup/exp/operationftp

lcd /backup/expdi

promptview

mput *vi

close

bye

EOF

相關文章
相關標籤/搜索