Mac Iterm2 upload and download using Lrzsz

Source: Internet
Author: User
Tags install brew

1, install brew software (there is no need to install)

Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)" #按提示安装

2, install Lrzsz

Brew Install Lrzsz

3, download Iterm2-zmodem script

Https://github.com/mmastrac/iterm2-zmodem

Get two scripts of iterm2-recv-zmodem.sh iterm2-send-zmodem.sh

Put these two scripts under/usr/local/bin/(to have execute permission)

4, configuring the Zmodem trigger

Open ITERM2------simultaneously press command and,-------Profiles----------Default-------advanced------Triggers Edit button

Regular Expression:rz waiting to receive.\*\*b0100    action:run Silent coprocess    Parameters:/usr/local/bin/ iterm2-send-zmodem.sh    Regular expression: \*\*b00000000000000    action:run Silent coprocess Parameters    :/ usr/local/bin/iterm2-recv-zmodem.sh

Configuration can be done using the


Mac Iterm2 upload and download using Lrzsz

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.