Linux下自动FTP脚本

前面写了一个Windows下自动FTP的脚本:

http://bladelogic.iteye.com/blog/1709463

今天新增Linux下的简单脚本,还待优化

#!/bin/sh
lftp 10.12.132.53 <<EOF
login user1 password1
cd subdir
put file1 file2 file3
exit
EOF
 

猜你喜欢

转载自bladelogic.iteye.com/blog/1714493