Mac comes with a terminal that does not support Lrzsz

Source: Internet
Author: User

First the Mac comes with the terminal is not support Lrzsz, need to download install ITERM2,:

Http://www.iterm2.cn/download

1. Installing Lrzsz

install lrzs

2. Install script to Mac specified directory, address: Https://github.com/mmastrac/iterm2-zmodem

Save iterm2-send-zmodem.sh and iterm2-recv-zmodem.sh to the/usr/local/bin/path of your Mac
注意添加脚本可执行权限:

chmod +x iterm2-send-zmodem.sh chmod +x iterm2-recv-zmodem.sh 

3.iterm2 adding triggers

\*\*B0100    Action: Run Silent Coprocess    Parameters: /usr/local/bin/iterm2-send-zmodem.shRegular expression: \*\*B00000000000000 Action: Run Silent Coprocess Parameters: /usr/local/bin/iterm2-recv-zmodem.sh 

Add Step: command+ "," key combination open "Preferences" Panel->profiles tab->advanced->triggers (click Edit)

4. Restart Iterm2, link to remote Linux, enter the RZ command to try it (note that the upload file path cannot contain Chinese).

Mac comes with a terminal that does not support Lrzsz

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.