#!/bin/bashTIME=`date +"Y%YM%mD%d"`;ls $TIME*|xargs -i sshpass -p $SPASS scp -o StrictHostKeyChecking=no {} root@$SHOST:$BACKUPDIR
本文共 172 字,大约阅读时间需要 1 分钟。
#!/bin/bashTIME=`date +"Y%YM%mD%d"`;ls $TIME*|xargs -i sshpass -p $SPASS scp -o StrictHostKeyChecking=no {} root@$SHOST:$BACKUPDIR
转载于:https://my.oschina.net/skq/blog/93328