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

建设独立服务器网站太原seo排名收费

建设独立服务器网站,太原seo排名收费,网站前后端用什么软件做,网站建设首页模板下载1、安装brew(找了很多🔗,就这个博主的好用) Mac如何安装brew?_行走的码农00的博客-CSDN博客_mac brew 2、安装lrzsz brew install lrzsz 检查是否安装成功 brew list 定位lrzsz的安装目录 brew list lrzsz 执…

1、安装brew(找了很多🔗,就这个博主的好用)

Mac如何安装brew?_行走的码农00的博客-CSDN博客_mac brew

2、安装lrzsz

brew install lrzsz  

检查是否安装成功

brew list

定位lrzsz的安装目录

brew list lrzsz

执行结果如下:

 3、配置rz sz 进行上传下载

进入lrzsz的安装目录bin下

cd /opt/homebrew/bin

创建两个文件:

$FILE 后面的配置路径为:lrzsz的安装目录bin

sudo vim iterm2-recv-zmodem.sh

#!/bin/bash
# Author: Matt Mastracci (matthew@mastracci.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 domain

osascript -e 'tell application "iTerm2" to version' > /dev/null 2>&1 && NAME=iTerm2 || NAME=iTerm
if [[ $NAME = "iTerm" ]]; then
    FILE=`osascript -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)&\"\")"`
else
    FILE=`osascript -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)&\"\")"`
fi

if [[ $FILE = "" ]]; then
    echo Cancelled.
    # Send ZModem cancel
    echo -e \\x18\\x18\\x18\\x18\\x18
    sleep 1
    echo
    echo \# Cancelled transfer
else
    cd "$FILE"
    /opt/homebrew/bin/rz -E -e -b
    sleep 1
    echo
    echo
    echo \# Sent \-\> $FILE
fi

sudo vim iterm2-send-zmodem.sh

#!/bin/bash
# Author: Matt Mastracci (matthew@mastracci.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 domain

osascript -e 'tell application "iTerm2" to version' > /dev/null 2>&1 && NAME=iTerm2 || NAME=iTerm
if [[ $NAME = "iTerm" ]]; then
    FILE=`osascript -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)&\"\")"`
else
    FILE=`osascript -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 = "" ]]; then
    echo Cancelled.
    # Send ZModem cancel
    echo -e \\x18\\x18\\x18\\x18\\x18
    sleep 1
    echo
    echo \# Cancelled transfer
else
    /opt/homebrew/bin/sz "$FILE" -e -b
    sleep 1
    echo
    echo \# Received $FILE
fi

给予权限:

chmod -R 777 iterm2-recv-zmodem.shchmod -R 777 iterm2-send-zmodem.sh

4、iTerm2 配置添加rz sz 功能

点击 iTerm2 的设置界面 Perference-> Profiles -> Default -> Advanced -> Triggers 的 Edit 按钮

 配置内容如下:

第一行:

rz waiting to receive.\*\*B0100

Run Silent Coprocess

/opt/homebrew/bin/iterm2-send-zmodem.sh

第二行:

\*\*B00000000000000

Run Silent Coprocess

/opt/homebrew/bin/iterm2-recv-zmodem.sh

Instant 打钩的话,不需要重启item

 然后就可以使用rz、rz命令啦~  

http://www.wangmingla.cn/news/951.html

相关文章:

  • 聊城网站托管网络推广专员是干什么的
  • 什么网站专门做外围的seo测试工具
  • 网站备案查询 站长磁力链接搜索引擎2021
  • 杭州 网站外包网络营销自学网站
  • 学校建设网站的目的和意义最好用的搜索神器
  • 基础展示营销型型网站itme收录优美图片官网
  • dw怎么做网站标题图标一级域名生成二级域名
  • 专业建设网站的企业千锋教育地址
  • 网站导航栏注明做广州seo外包公司
  • 南昌网站建设是什么河南网站建设定制
  • 南山做网站宁德市疫情
  • 做外贸用什么浏览国外网站无代码免费web开发平台
  • 做网站网页的工作怎么样百度指数怎么下载
  • 河北网站建设公司宁波seo关键词排名优化
  • 如何用一个框架做网站今日广州新闻最新消息
  • 网站 制作 报价十大管理培训课程
  • 品牌logo设计公司seo网站推广排名
  • 比较流行的网站建设技术有哪些最新域名查询
  • 织梦网站首页文字修改专业seo公司
  • 网站的权重网络推广工作怎么样
  • 网页设计专业学校网站seo优化运营
  • 天津项目网站建设制作网页需要多少钱
  • 网站建设实训日志最佳bt磁力猫
  • 做网站关键词投广告的平台有哪些
  • 在wordpress首页显示赞踩功能周口seo推广
  • 企业站用什么程序做网站全球搜索引擎市场份额
  • 广西旅游 网站建设优化快速排名公司
  • 怎么识别网站是用什么语言做的数据分析师就业前景
  • 网站里面如何做下载的app怎样进行网络营销吸引顾客
  • 国外专门做美女车模的网站网络营销的概念是什么