最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[未解决]Mac中iTerm2去用rz传输结果终端无响应

Mac crifan 8839浏览 0评论

折腾:

[整理]Mac下的好用的免费的SSH2终端

期间,但是去用rz结果死掉了

搜:

mac iterm2 rz sz

参考:

Mac OS X 下如何配置才能通过 sz/rz 命令下载/上传文件 – 旭东

iTerm2使用rz、sz远程上传或下载文件 – w3cboy – 前端开发博客

mmastrac/iterm2-zmodem: Automatic ZModem support for iTerm 2

➜  ~ uname -a
Darwin licrifandeMacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64
➜  ~ brew install lrzsz
==> Downloading https://homebrew.bintray.com/bottles/lrzsz-0.12.20.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lrzsz-0.12.20.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/lrzsz/0.12.20: 18 files, 415.5K

然后:

[已解决]Mac中wget没有安装:zsh: command not found: wget

➜  bin git:(master) wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-send-zmodem.sh

<div–<2016-09-07 20:06:15–  https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-send-zmodem.sh

Resolving raw.github.com… 151.101.16.133
Connecting to raw.github.com|151.101.16.133|:443… connected.
Unable to establish SSL connection.
➜  bin git:(master) sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh
Password:
➜  bin git:(master) wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh

<div–<2016-09-07 20:08:37–  https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh

Resolving raw.github.com… 151.101.16.133
Connecting to raw.github.com|151.101.16.133|:443… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://raw.githubusercontent.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh [following]

<div–<2016-09-07 20:08:43–  https://raw.githubusercontent.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh

Resolving raw.githubusercontent.com… 151.101.16.133
Connecting to raw.githubusercontent.com|151.101.16.133|:443… connected.
Unable to establish SSL connection.

算了,去主页:

mmastrac/iterm2-zmodem: Automatic ZModem support for iTerm 2

去下载

iterm2-send-zmodem.sh

iterm2-recv-zmodem.sh

拷贝到:

/usr/local/bin/

➜  bin git:(master) chmod 777 iterm2*
➜  bin git:(master) ll iterm2*
-rwxrwxrwx@ 1 crifan  admin   1.1K  6  6 14:27 iterm2-recv-zmodem.sh
-rwxrwxrwx@ 1 crifan  admin   1.1K  6  6 14:27 iterm2-send-zmodem.sh
➜  bin git:(master) pwd
/usr/local/bin

然后再去测试测试:

然后再去试试sz xxx

然后弹出选择要接收文件的路径:

[useradmin@AZAPPDL01 ~]$ sz manifest.plist
**B00000000000000
[useradmin@AZAPPDL01 ~]$
[useradmin@AZAPPDL01 ~]$ # Sent -> /Users/crifan/Documents/tmp/
[useradmin@AZAPPDL01 ~]$

结果文件夹中:

/Users/crifan/Documents/tmp/

没有我要的文件manifest.plist

并且我之前的在

/Users/crifan/Documents

下面的该文件:manifest.plist

竟然没有了!!!

难道被无故的冲突掉了?覆盖掉了?

算了。暂时不去折腾了。有空再深究。

转载请注明:在路上 » [未解决]Mac中iTerm2去用rz传输结果终端无响应

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.193 seconds, using 22.15MB memory