当前位置:网站首页>Iterm2 file transfer with remote server
Iterm2 file transfer with remote server
2022-06-21 13:38:00 【Empty-Filled】
One 、 Background introduction
Windows It can be used Xshell Remote server file transfer ,Mac Not on Xshell, Can pass iTerm2 Realization rz/sz function .
Two 、 step
- install lrzsz
brew install lrzsz
- download iterm2-zmodem
git clone https://github.com/aikuyun/iterm2-zmodem.git
- Copy iterm2-send-zmodem.sh and iterm2-recv-zmodem.sh Two scripts to /usr/local/bin
sudo cp iterm2-* /usr/local/bin
- Script permission setting
sudo chmod 777 /usr/local/bin/iterm2-*
- Set up iterm2 Of Trigger function ,Profiles->->Edit Profiles->Advanced Medium Tirgger, Add two records , They are as follows :
1. Article 1 with a
Regular expression: rz waiting to receive.\*\*B0100
Action: Run Silent Coprocess
Parameters: /usr/local/bin/iterm2-send-zmodem.sh
Instant: checked
2. Second
Regular expression: \*\*B00000000000000
Action: Run Silent Coprocess
Parameters: /usr/local/bin/iterm2-recv-zmodem.sh
Instant: checked

- Server installation lrzsz
yum -y install lrzsz
3、 ... and 、rz、sz Use
- Upload files
# Log on to the remote server , Input rz, Pop up to select a file
rz
- File download
# Log on to the remote server , Input sz+ File name , Choose a directory
sz
Four 、QA & Reference
- /usr/local/bin/sz: No such file or directory
# see sz The installation path
which sz
# In the replacement script sz The path is the actual value , such as /opt/homebrew/bin/sz
vim /usr/local/bin/iterm2-send-zmodem.sh
- iTerm2 official:
https://iterm2.com/documentation.html - iTerm2-zmodem download:
https://github.com/aikuyun/iterm2-zmodem
边栏推荐
- 【深入理解TcaplusDB技术】TcaplusDB业务数据备份
- MySQL - user management
- Must the database primary key be self incremented? What scenarios do not suggest self augmentation?
- Apache shardingsphere 5.1.2 release | new driving API + cloud native deployment to create a high-performance data gateway
- MySQL - index
- MySQL - adding, deleting, querying and modifying tables
- 5. array
- 微证券开户正规安全吗,怎么操作开户?
- 如何使用搜索引擎?
- Customize view to draw line chart (support zoom)
猜你喜欢

Apache shardingsphere 5.1.2 release | new driving API + cloud native deployment to create a high-performance data gateway

MySQL - transaction management

Apache shardingsphere 5.1.2 release | new driving API + cloud native deployment to create a high-performance data gateway

分布式事务处理方案大 PK

3D slicer import label and view label

【课程作业】浮点运算分析及精度改进

618 Nuggets digital collection? Burberry and other luxury brands fight against metauniverse

Open source FTP server FileZilla server

TOOD: Task-aligned One-stage Object Detection
![[Anxin cup 2019]easy_ web-1](/img/1d/f164c220f6c8e98b981ef79b0e96bc.png)
[Anxin cup 2019]easy_ web-1
随机推荐
【课程作业】浮点运算分析及精度改进
How to use search engine?
Use map set or list set to store list set
[course assignment] floating point operation analysis and precision improvement
PingCAP 入选 2022 Gartner 云数据库“客户之声”,获评“卓越表现者”最高分
IMU selection, calibration error analysis, AHRS integrated navigation
17 commonly used o & M monitoring systems
[untitled]
如何使用搜索引擎?
Detailed explanation and examples of common parameters of curl
MySQL - transaction management
C language -- program compilation and linking
5. array
SCCM基于已安装的 APP创建客户端集合并定期推送应用更新
分布式事务,原理简单,写起来全是坑
[in depth understanding of tcapulusdb technology] tcapulusdb construction data
Please, don't use pessimistic locks in high concurrency scenarios!
C language elementary (VII) structure
3. function improvement
Customize view to draw line chart (support zoom)