I need to copy huge files from remotemachine1 to remotemachine2-remotemachine10.
What is the best way to do it ? Doing a get on remotemachine1 and then a put to all the remaining machines aren't ideal as the file is huge and I need to be able to send the Fabric command from my laptop. The remotemachines are all in the same network. Or should I do a run('rsync /file_on_remotemachine1 RemoteMachine2:/targetpath/') ?
Is there a better way to do this in Fabric ?
如果可以的话,最好的方法是从remotemachine1运行脚本。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.