OS X 安装 lrzsz

服务器安装:
[code]apt-get install lrzsz[/code]mac 安装:
[code]brew install lrzsz[/code]下载命令脚本:
[code]git clone https://github.com/mmastrac/iterm2-zmodem.git
cd iterm2-zmodem
cp ./item* /usr/local/bin/
chmod 777 /usr/local/bin/item*[/code]item command + ,

[attach]7[/attach]

[attach]6[/attach]

[code] 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[/code]