繁体   English   中英

如何使用Fabric在远程计算机之间复制文件?

[英]How do you use Fabric to copy files between remote machines?

我需要将大量文件从remotemachine1复制到remotemachine2-remotemachine10。

最好的方法是什么? 在remotemachine1上进行获取,然后在其余所有计算机上进行放置都不理想,因为该文件很大,我需要能够从我的笔记本电脑发送Fabric命令。 远程计算机都在同一网络中。 还是应该运行('rsync / file_on_remotemachine1 RemoteMachine2:/ targetpath /')?

在Fabric中有更好的方法吗?

如果可以的话,最好的方法是从remotemachine1运行脚本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM