Skip to content

wennergr/zterm2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZModem support for iterm2

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:

  1. Run ./install.sh
  2. Set up Triggers (Open Profiles->Edit Profies->Profiles->Advanced) in iTerm 2 like so:

Send trigger

    Regex: \*\*B0100
    Action: Run Silent Coprocess
    Parameters: /usr/local/bin/ziterm2-send.sh

Receive trigger

    Regex: \*\*B00000000000000
    Action: Run Silent Coprocess
    Parameters: /usr/local/bin/ziterm2-recv.sh

Expected result

iterm-image

Usage

To send a file to a remote machine:

  1. Type "rz" on the remote machine
  2. Select the file(s) on the local machine to send

The receive a file from a remote machine

  1. Type "sz filename1 filename2 … filenameN" on the remote machine

Ideas and kudos goes out to: https://github.com/mmastrac/iterm2-zmodem

About

File transfer support for iterm2 with zmodem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages