Mac OSX uses RZ, sz remote upload, download file

Source: Internet
Author: User

Objective:

Blog Park for a long time, have been trying to write something. Maybe you have limited ability and not enough confidence. Originally wanted to use a gorgeous technology to share as the opening of the blog park. The Sqoop has been brewing for a long time using sharing, but has been sealed in a draft box. Recently need Daoteng file, then use this article as a note opening:)

Use the background:

There are many tools for remote file transfer, such as RZ, Sz;scp;ftp, and so on. I use the imac, which is usually transmitted via SCP. However, because the company's test environment server needs to be accessed via a springboard machine, it is difficult to coordinate machines that cannot use SCP,FTP. After consulting colleagues learned that you can use RZ, sz for transmission. So I tried the next ... The results are as follows ...

And then the window hangs out ... And then there's no ...

Body:

First, download and install ITerm2

Http://www.iterm2.com/#/section/downloads

Ii. Download and install Lrzsz

1. Sudo brew install Lrzsz

2,ln-s/usr/local/cellar/lrzsz/0.12.20/bin/sz

Ln-s/usr/local/cellar/lrzsz/0.12.20/bin/rz

Third, download and install automatic zmoderm for ITerm2

1,/usr/local/bin

2, 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

3,sudo chmod 777/usr/local/bin/iterm2-*

Iv. Adding ITERM2 Trigger

ITerm2--Profiles---Open Profiles---Profiles---advanced----Edit Trigger

Configuration items:

    Regular expression Action Parameters

    \*\*b0100 Run Silent coprocess/usr/local/bin/iterm2-send-zmodem.sh

\*\*b00000000000000 Run Silent coprocess/usr/local/bin/iterm2-recv-zmodem.sh

    

After the configuration is OK ~ Small partners in the installation of the use of the process encountered any problems, welcome message to discuss together ha:)

Mac OSX 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.