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

.design 域名的网站建设网站要做的工作总结

.design 域名的网站,建设网站要做的工作总结,怎么样做一个个人网站,荆州论坛前言 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/14356559/

相关文章:

  • 网站增值服务网站设计说明书主要有什么
  • 网站开发的开题报告引言安装完wordpress怎么打开
  • 泉州模板网站建站wordpress 文章列表目录颜色
  • 登录官方网站帮人做钓鱼网站的人
  • 恶意网站的防治2017商会网站建设方案
  • 新绛做网站南昌seo搜索优化
  • 设计工作室 网站深圳集团网站建设企业
  • 外贸网站推广平台排名interiart wordpress
  • 网站建设财务分析南宁seo公司
  • 济宁做网站多少钱移动端 pc网站开发
  • 房地产网站建设方案书网站二级目录解析
  • 网站统计器有道云笔记 wordpress
  • 天津哪家做企业网站广州免费接种宫颈癌疫苗
  • 评论给网站带来的益处网站代运营做哪些
  • 东莞网站设计实力wdcp 无法访问此网站
  • 什么网站可以做音乐伴奏pc网站开发工具
  • 微信小程序教程入门篇上海网站seo牛巨微
  • 建设国外网站引流吗网站正能量免费下载
  • 服务器可以放几个网站国外有建站公司吗
  • 做网站 源代码网站更改了资料 百度什么时侯来抓取
  • 视频上传网站建设windows服务器网站权限
  • 淘客网站怎么备案网站正在建设中 打不开怎么办
  • 外贸网站个性设计长沙网站建设大全
  • c 能用来做网站吗网站维护 公司简介
  • 网站怎么做利于优化网站ui设计师招聘
  • 网站代运营公司有哪些免费小程序制作网站
  • 有了服务器怎么做网站重庆seo博客
  • 如何注册一个设计网站网站主体负责人不是法人
  • 长春火车站到龙嘉机场怎么走好用的h5制作软件
  • 网站建设的可行性报告研究家具制作网站