4.从远程服务器上拉取文件

if ssh root@83.24.xx.xx  test -e /home/xxx/xx.txt;then
    cd /mnt/ && wget ftp://用户:密码@ip//文件绝对路径
else
    echo "文件不存在"
fi

从远程服务器上面拉取文件。。。。

posted on 2022-04-11 14:14  太白金星有点烦  阅读(167)  评论(0)    收藏  举报

导航