Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 944 Bytes

rzsz.md

File metadata and controls

25 lines (20 loc) · 944 Bytes

rz & sz

  • CentOS

      yum install lrzsz
    
  • Mac上item2上安装

    • brew安装

        brew install lrzsz
      
    • 源码安装

      • 下载源码包:www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz

      • 解压:tar -xvf lrzsz-0.12.20.tar.gz

      • 准备编译:./configure

      • 编译安装: make && make install

      • 建立软连接

          ln -s /usr/local/bin/lsz /usr/local/bin/sz
          ln -s /usr/local/bin/lrz /usr/local/bin/rz
        
    • 配置ZModem(Automatic ZModem support for iTerm 2)

    • 打开iTerm2设置界面,Profiles -> Advanced -> Edit

        \*\*B010                                  Run Silent Coprocess        /usr/local/bin/iterm2-send-zmodem.sh
      
        \*\*B00000000000000              Run Silent Coprocess        /usr/local/bin/iterm2-recv-zmodem.sh