当前位置: 首页 > news >正文

.design 域名的网站汕头网站推广seo

.design 域名的网站,汕头网站推广seo,网站建设多少钱宋柯,重庆建设工程证照查询网站前言 mac os 终端不支持使用 rz sz 上传下载文件#xff0c;本文提供解决方法。 mac 上安装 brew install lrzsz两个脚本 注意#xff1a;/usr/local/bin/iterm2-send-zmodem.sh 中的 sz命令路径要和你mac 上 sz 命令路径一致。 /usr/local/bin/iterm2-recv-zmodem.sh 中…前言 mac os 终端不支持使用 rz sz 上传下载文件本文提供解决方法。 mac 上安装 brew install lrzsz两个脚本 注意/usr/local/bin/iterm2-send-zmodem.sh 中的 sz命令路径要和你mac 上 sz 命令路径一致。 /usr/local/bin/iterm2-recv-zmodem.sh 中的 rz 命令路径要和你 mac 上的 rz 命令路径一致。 查看 mac 上 rz 和 sz 命令的路径 $ which rz /opt/homebrew/bin/rz$ which sz /opt/homebrew/bin/szcat /usr/local/bin/iterm2-send-zmodem.sh EOF #!/bin/bash # Author: Matt Mastracci (matthewmastracci.com) # AppleScript from http://stackoverflow.com/questions/4309087/cancel-button-on-osascript-in-a-bash-script # licensed under cc-wiki with attribution required # Remainder of script public domainosascript -e tell application iTerm2 to version /dev/null 21 NAMEiTerm2 || NAMEiTerm if [[ $NAME iTerm ]]; thenFILEosascript -e tell application iTerm to activate -e tell application iTerm to set thefile to choose file with prompt Choose a file to send -e do shell script (\echo \(quoted form of POSIX path of thefile as Unicode text)\\) elseFILEosascript -e tell application iTerm2 to activate -e tell application iTerm2 to set thefile to choose file with prompt Choose a file to send -e do shell script (\echo \(quoted form of POSIX path of thefile as Unicode text)\\) fi if [[ $FILE ]]; thenecho Cancelled.# Send ZModem cancelecho -e \\x18\\x18\\x18\\x18\\x18sleep 1echoecho \# Cancelled transfer else/opt/homebrew/bin/sz $FILE -e -bsleep 1echoecho \# Received $FILE fi EOFcat /usr/local/bin/iterm2-recv-zmodem.sh EOF #!/bin/bash # Author: Matt Mastracci (matthewmastracci.com) # AppleScript from http://stackoverflow.com/questions/4309087/cancel-button-on-osascript-in-a-bash-script # licensed under cc-wiki with attribution required # Remainder of script public domainosascript -e tell application iTerm2 to version /dev/null 21 NAMEiTerm2 || NAMEiTerm if [[ $NAME iTerm ]]; thenFILEosascript -e tell application iTerm to activate -e tell application iTerm to set thefile to choose folder with prompt Choose a folder to place received files in -e do shell script (\echo \(quoted form of POSIX path of thefile as Unicode text)\\) elseFILEosascript -e tell application iTerm2 to activate -e tell application iTerm2 to set thefile to choose folder with prompt Choose a folder to place received files in -e do shell script (\echo \(quoted form of POSIX path of thefile as Unicode text)\\) fiif [[ $FILE ]]; thenecho Cancelled.# Send ZModem cancelecho -e \\x18\\x18\\x18\\x18\\x18sleep 1echoecho \# Cancelled transfer elsecd $FILE/opt/homebrew/bin/rz -E -e -bsleep 1echoechoecho \# Sent \-\ $FILE fi EOF给脚本赋予权限 sudo chmod 777 /usr/local/bin/iterm2-*配置 iterm2 注意 Action 列有下拉选项框选择即可。其他列复制粘贴。 为方便复制 Regular expression: rz waiting to receive.\*\*B0100Action: Run Silent CoprocessParameters: /usr/local/bin/iterm2-send-zmodem.shInstant: checkedRegular expression: \*\*B00000000000000Action: Run Silent CoprocessParameters: /usr/local/bin/iterm2-recv-zmodem.shInstant: checked
http://www.hkea.cn/news/14464325/

相关文章:

  • 做网站 江门做互联网的网站
  • 注册网站建设公司主营项目类别游戏网站首页设计
  • 广州网站建设联系电话电脑做网站软件
  • 送菜网站制作大丰企业做网站多少钱
  • 江苏建设招标网站网站建设备案优化设
  • 网站建好后如何上线wordpress接入api
  • 嘉定网站设计制作托管维护高端网站建设网站
  • 怎么在自己电脑上搭建网站wordpress 如何重新安装
  • 微信公众号优惠和网站绑定怎么做网站建设公司客户开发手册
  • 益阳市网站建设网站建设中文摘要是什么
  • 建设银行官网官方网站婚纱网站html源码
  • 建站网站案例网站建设骗
  • 智慧景区网站服务建设口碑好的定制网站建设公司
  • 七台河新闻联播最新aso优化
  • 网站设计公司网站设计郑州seo优化顾问阿亮
  • 沈阳网站建设哪家便宜新竹自助网站
  • 广州三合一网站建设网站建设公司的小程序选择什么
  • 网站建设属于资产站长之家的作用
  • 备案后怎么建设网站全屋整装十大公认品牌加盟
  • 成品网站源码68w68游戏wordpress优秀中文主题
  • 做网站加模块网站建设江西
  • 做网站 知乎怎么创建网站平台赚钱
  • 陕西省建设监理协会证书查询网站拼团购物网站开发
  • 帮站seo湖南湘潭
  • 深圳html5网站开发建立网站需要多久
  • 项目网站建设应入哪个科目营销型网站策划公司
  • 镇江网站排名优化价格直播网站开发平台
  • 华为云速建站可以做英文网站网站制作有限公司
  • 安康网站建设技巧网页制作专业公司
  • 如何运营网站网络营销乐云seo