mac下使用rz sz的配置
系统:mac ox 连接服务器工具:itrem2 1.安装iterm2不做过多介绍 官网下载 http://www.iterm2.com/ 2.安装homebrew ruby -e " $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 3.安装lrzsz brew install lrzsz 4. 配置rz sz 进行上传下载 cd /usr/ local/bin 新增如下两个文件 vi iterm2-recv-zmodem.sh #!/bin/bash # Author: Matt Mastracci (matthew@mastracci.com) # AppleScript from http://stackoverflow.com/questions/4309087/cancel-button-on-osascript-in-a-bash-script # licensed under cc-wiki with attribution required # Remainder of script public domain osascript -e 'tell application "iTerm2" to version' > /dev/null 2>&1 &&