crac

导航

2017年3月30日 #

UploadFtp

摘要: #!/bin/bash FILENAME=$1 DSTDIR=$2 FTPSRV=ip FTPUSER="user" FTPPWD="password" SRCDIR='/path/' FILE1=$1 /usr/bin/ftp -in $FTPSRV <<! user $FTPUSER $FTPPWD cd $SRCDIR lcd $DSTDIR bin mput ${FILE1... 阅读全文

posted @ 2017-03-30 20:36 crac 阅读(134) 评论(0) 推荐(0) 编辑

Downloadftp

摘要: #!/bin/bash FILENAME=$1 DSTDIR=$2 FTPSRV=ip FTPUSER="user" FTPPWD="password" SRCDIR='/auto_U_self' FILE1=$1 /usr/bin/ftp -in $FTPSRV <<! user $FTPUSER $FTPPWD cd $SRCDIR lcd $DSTDIR bin mget $... 阅读全文

posted @ 2017-03-30 20:35 crac 阅读(88) 评论(0) 推荐(0) 编辑

备份脚本

摘要: #!/bin/bash clear echo "" echo "*******************************************************************************************" echo "****************************Welcome using the Automated script... 阅读全文

posted @ 2017-03-30 20:31 crac 阅读(138) 评论(0) 推荐(0) 编辑