Transfer files using Z-Model from within iTerm2 to any remote machine
with lrzsz installed.
Installing from Homebrew tap laggardkernel/tap
is recommended. It solves the dependency (lrzsz) automatically.
brew install laggardkernel/tap/iterm2-zmodemThen, follow the output from the above command to do the post-setup.
- Sending a directory may fail: this is a known issue
- If you are using tmux or some other terminal multiplexer (ie:
screen), try using the-eoption toszand/orrzon your server to force escaping of more characters during transmission. - This tool may also fail if you are using
expectorrloginas it expects a mostly-clean 8-bit connection between the two parties.
The talk made by mmastrac about "a free Taiwan and a free Tibet"
in the luxihk/iterm2-zmodem repo irritates many people,
after they made the decision to bombard the users by printing the content to
the STDOUT whenever sz or rz is typed.