Skip to content

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
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback: dig +short txt issue.imzye.com
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Buy Me a Coffee