Skip to content

lrzsz是一款在linux里可代替ftp上传和下载的程序。

Notifications You must be signed in to change notification settings

juhengzhe/lrzsz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

lrzsz

lrzsz是一款在linux里可代替ftp上传和下载的程序。 本文介绍如何在iterm2里添加lrzsz支持

1.linux服务器安装lrzsz

yum install lrzsz

2.mac安装iterm2

3.mac安装lrzsz

brew install lrzsz

4.下载脚本

cd /usr/local/bin

sudo wget https://raw.github.com/juhengzhe/lrzsz/master/iterm2-send-zmodem.sh

sudo wget https://raw.github.com/juhengzhe/lrzszmaster/iterm2-recv-zmodem.sh

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

5.配置iterm2

preferences → profiles,选择某个profile,如Default,之后选择advanced → triggers,添加编辑添加如下triggers

triggers1:

Regular expression: /*/*B0100

Action: Run Silent Coprocess

Parameters:/usr/local/bin/iterm2-send-zmodem.sh

triggers2:

Regular expression: /*/*B00000000000000

Action: Run Silent Coprocess

Parameters:/usr/local/bin/iterm2-recv-zmodem.sh

勾选instant

About

lrzsz是一款在linux里可代替ftp上传和下载的程序。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages