Batch send-retrive file with pscp-pslurp
prerequisite
# Ubuntu
apt install pssh
# MacOS
brew install pssh
# or
pip install pssh
pscp
批量发送文件/目录
pscp -h ip文件 本地文件 远程目录或文件
## eg.
pscp -h hosts.ip file.txt ~/
pslurp
批量回收文件/目录
pslurp -h ip文件 -L 本地目录 远程文件 本地文件名称
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here