find ./ -newermt '2019-10-13 20:52:27' -type f ! -path "./package/nsf0cus/new_site/bin/*" ! -path "./package/.glusterfs/*" -exec scp -i /root/.ssh/upgrade_id_rsa {} root@10.6.5.2:/opt/large_disk2/{} \;
find ./ -newermt '2019-10-13 20:52:27' -type f ! -path "./package/nsf0cus/new_site/bin/*" ! -path "./package/.glusterfs/*" -exec scp -i /root/.ssh/upgrade_id_rsa {} root@10.6.5.2:/opt/large_disk2/{} \;
本文标题:find 查找具体时间 去掉某个目录,然后拷贝到其他服务器
本文链接:https://www.haomeiwen.com/subject/elsbvctx.html
网友评论