Provide you with the ability to send files using your terminal between machines. It's slower then scp but very convenient.
You neeed to install zmodem on the remote machines.
For ubuntu/debian: apt-get install lrzsz
For Redhat/CentOS: yum install lrzsz
Setup is pretty simple:
- Run
./install.sh - Set up Triggers (Open Profiles->Edit Profies->Profiles->Advanced) in iTerm 2 like so:
Regex: \*\*B0100
Action: Run Silent Coprocess
Parameters: /usr/local/bin/ziterm2-send.sh
Regex: \*\*B00000000000000
Action: Run Silent Coprocess
Parameters: /usr/local/bin/ziterm2-recv.sh
To send a file to a remote machine:
- Type "rz" on the remote machine
- Select the file(s) on the local machine to send
The receive a file from a remote machine
- Type "sz filename1 filename2 … filenameN" on the remote machine
Ideas and kudos goes out to: https://github.com/mmastrac/iterm2-zmodem
