Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (24 loc) · 865 Bytes

readme.md

File metadata and controls

29 lines (24 loc) · 865 Bytes

iterm2-lrzsz

Require

OS X version >= 10.10

Features

  • support to upload multiple files

Usage

  1. install lrzsz
brew install lrzsz
  1. save this shell to somewhere, etc/usr/local/bin
sudo wget -qO /usr/local/bin/iterm2-lrzsz https://github.com/conorzhong/iterm2-lrzsz/raw/main/iterm2-lrzsz.sh
sudo chmod +x /usr/local/bin/iterm2-lrzsz
  1. configure iterm2
    1. open: Preferences->Profiles->Advanced->Triggers->"+"(at bottom left)
    2. input: rz waiting to receive.\*\*B0100, Run Silent Coprocess, /usr/local/bin/iterm2-lrzsz send, check Instant and Enabled
    3. input: \*\*B00000000000000, Run Silent Coprocess, /usr/local/bin/iterm2-lrzsz recv, check Instant and Enabled
  2. login your server(by iterm2)
  3. run rz or sz

Screenshots

triggers multiple