首页 > 编程知识 正文

macos重新安装系统,linux安装rzsz

时间:2023-05-04 20:55:01 阅读:39938 作者:2366

mac自带的终端是不支持lrzsz的,需要下载安装iterm2Mac OS终端利器iTerm2

安装homebrew brew的MAC安装

macOS安装lrzsz 进入/usr/local/dtdzm

由于原作者下架了项目,我们只能手动新建脚本了,下面请无脑全部复制即可。

1.创建iterm2-recv-zmodem.sh

#!/dtd zm/bashosascript-e ' tell application ' ITER m2 ' to version '/dev/null 21na me=ITER m2|| name=iterm if [ $ name ] osascript-e ' tell应用程序' iterm ' to activate '-e ' tell应用程序' iterm ' tosetthefiletochoosefolderwithprompt ' lesin'-e'doshellscript(echo () ) quotedformofposixpathofthefileasunicodetext () () ) ) ) ) ) ) ) ) oscript-e ' tell应用程序' ITER m2 ' to activate '-e ' tell应用程序' ITER m2 ' tosetthefiletochoosefolderwithprompt erereetion uotedformofposixpathofthefileasunicodetext ) () ) fiif thenecho cancelled.# sendzmodemcancelecho-ex18 x18 x18 # cancelledtransferelsecd ' $ file '/usr/local/dtd zm/rz-e-bsleep1echoecho echo# sent-$ fi 3358 www

#!/dtd zm/bashosascript-e ' tell application ' ITER m2 ' to version '/dev/null 21na me=ITER m2|| name=iterm if [ $ name ] osascript-e ' tell应用程序' iterm ' to activate '-e ' tell应用程序' iterm ' tosetthefiletochoosefilewithprompt ' chhechpt () ) ) ) ) )。 () (elseFILE=) ) )。 oscript-e ' tell应用程序' ITER m2 ' to activate '-e ' tell应用程序' ITER m2 ' tosetthefiletochoosefilewithprompt ' e hofthefileasunicodetext ((() ) ) (fiif ) ) ) 652 thenecho cancelled.# sendzmodemcancelecho-ex18 # cancelledtransferelse/usr/local/dtd zm/SZ ' $ file '-e-bsleep1echoecho# received $ file fi http://www.Sina.core

chmodxiterm2- send-zmodem.shchmodxiterm2- recv-zmodem.sh http://www.Sina.com /

步骤:同时按command“,”键打开item2的“首选项”面板-“配置文件”选项卡-“高级触发”。 单击Edit

regularexpression:* " b 0100 action : runsilentcoprocessparameters 3360/usr/local/dtd zm/ITER m2-send-z mood * b 0000000000000000000 a0000 a00 a000 a000 AC操作

选中instant后,不需要重新启动items,可以轻松传输文件。

现在就有弹匣哦~

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。