pscp.pssh的使用
程序员文章站
2022-05-30 13:14:15
...
pscp.pssh的使用
将本地文件批量复制到远程主机上
#-r 递归 -v显示过程 源--目标
[[email protected] ~]# pscp.pssh -rv -h /root/iplist /root/test/ /mnt
[1] 16:57:01 [SUCCESS] [email protected]
[2] 16:57:11 [SUCCESS] [email protected]
[3] 16:57:11 [SUCCESS] [email protected]
[[email protected] ~]# pssh -h /root/iplist -i 'ls /mnt'
[1] 16:57:28 [SUCCESS] [email protected]
hgfs
test
[2] 16:57:28 [SUCCESS] [email protected]
test
[3] 16:57:28 [SUCCESS] [email protected]
test
上一篇: mysql的简单使用及增删改查