Mac uses RZ, sz remote upload download file

Source: Internet
Author: User

Accustomed to the SECURECRT and Xshell of RZ and SZ under Windows.

RZ can be very convenient to transfer files from the client to the server, SZ can also be very convenient to transfer files from the server to the client, even if the intermediary between the board is not affected. Under the Mac test, Mac terminal is not supported, need to download item2. In addition, you can not use expect to automatically log on to the server under the Mac, perform RZ or sz otherwise the terminal will be hung off.

? 1. First install ITEM2,item2 city-like Mac-style terminal
Item2,?? http://iterm2.com/downloads.html, download and unzip to run

2. Use Brew to install Lrzsz
yubing> sudo brew install Lrzsz
Check if Ls-alh/usr/local/bin/sz is present after installation is complete

Download Iterm2-zmodem

$ sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-send-zmodem.sh
$ sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh
$ sudo chmod 777/usr/local/bin/iterm2-*



Add trigger trigger to terminal ITERM2

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






Address: http://blog.sina.com.cn/s/blog_467eb8ca0102vatl.html

Mac uses RZ, sz remote upload download file

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.