Install ITEM2 First
item2, http://iterm2.com/downloads.html, download and unzip to run
Unzip iterm2_v2_0.zip-d/applications/
Then follow the steps below to configure Iterm2-zmodem
1. Get the Iterm2-zmodem script
git clone https://github.com/mmastrac/iterm2-zmodem.git
LS-LH iterm2-zmodem/
2. Copy two script files to the/usr/local/bin/directory
CP iterm2-zmodem/*.sh/usr/local/bin/
sudo chmod 777/usr/local/bin/iterm2-*.sh
3. Open ITERM2------simultaneously press command and, key-------Profiles----------Default-------Advanced------Triggers
Add two X Trigger
The setup code for triggers is as follows
1 Regular expression: \*\*b0100
2 Action:run Silent coprocess
3 Parameters:/usr/local/bin/iterm2-send-zmodem.sh
4
5 Regular expression: \*\*b00000000000000
6 Action:run Silent coprocess
7 Parameters:/usr/local/bin/iterm2-recv-zmodem.sh
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7E/DF/wKioL1cLf_WgAyeuAAHLdKxSKgU336.png "title=" Iterm2-zmodem.png "width=" 751 "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:751px;height:180px; "alt=" Wkiol1clf_wgayeuaahldkxskgu336.png "/>650) this.width=650;" Src= "http://s4.51cto.com/wyfs02/M01/7E/E2/ Wkiom1clgamrea6oaadflgwlozy565.png "title=" Iterm2-zmodem-triggers.png "width=" 666 "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:666px;height:100px; "alt=" Wkiom1clgamrea6oaadflgwlozy565.png "/>
MacOS Installation iTerm2 support Rzsz upload download