Skip to content

Convenient upload and download file operations with the linux server in MacOS.

License

Notifications You must be signed in to change notification settings

luckyhappycat/iterm2-zmodem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iterm2-zmodem

Convenient upload and download file operations with the linux server in MacOS.

Fork from https://github.com/mmastrac/iterm2-zmodem [Warning] This link is useless.

Installation

Prerequisite

  • brew
  • iterm2 install iterm2 with brew:
brew cask install iterm2

Step

install lrzsz:

brew install lrzsz

Download iterm2-send-zmodem.sh and iterm2-recv-zmodem.sh:

wget https://raw.githubusercontent.com/xmvper/iterm2-zmodem/master/iterm2-send-zmodem.sh

wget https://raw.githubusercontent.com/xmvper/iterm2-zmodem/master/iterm2-recv-zmodem.sh

move to /usr/local/bin/:

mv iterm2-send-zmodem.sh iterm2-recv-zmodem.sh /usr/local/bin/

change permission:

cd /usr/local/bin/
chmod 777 /usr/local/bin/iterm2-*

set iterm2 in profiles - default - editProfiles - Advanced, add two triggers:

Regular expression: rz waiting to receive.\*\*B0100
Action: Run Silent Coprocess
Parameters: /usr/local/bin/iterm2-send-zmodem.sh
Instant: checked
Regular expression: \*\*B00000000000000
Action: Run Silent Coprocess
Parameters: /usr/local/bin/iterm2-recv-zmodem.sh
Instant: checked

About

Convenient upload and download file operations with the linux server in MacOS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages