{"id":13713593,"url":"https://github.com/aikuyun/iterm2-zmodem","last_synced_at":"2025-05-16T06:06:01.467Z","repository":{"id":41375511,"uuid":"192472908","full_name":"aikuyun/iterm2-zmodem","owner":"aikuyun","description":"在 Mac 下，实现与服务器进行便捷的文件上传和下载操作","archived":false,"fork":false,"pushed_at":"2020-11-17T10:01:18.000Z","size":696,"stargazers_count":1167,"open_issues_count":20,"forks_count":719,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-08T16:04:56.660Z","etag":null,"topics":["item2","macos","rz","sz"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aikuyun.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-18T05:41:06.000Z","updated_at":"2025-04-07T12:42:09.000Z","dependencies_parsed_at":"2022-07-19T01:33:04.599Z","dependency_job_id":null,"html_url":"https://github.com/aikuyun/iterm2-zmodem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aikuyun%2Fiterm2-zmodem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aikuyun%2Fiterm2-zmodem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aikuyun%2Fiterm2-zmodem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aikuyun%2Fiterm2-zmodem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aikuyun","download_url":"https://codeload.github.com/aikuyun/iterm2-zmodem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478188,"owners_count":22077676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["item2","macos","rz","sz"],"created_at":"2024-08-02T23:01:40.007Z","updated_at":"2025-05-16T06:05:56.456Z","avatar_url":"https://github.com/aikuyun.png","language":"Shell","funding_links":[],"categories":["MacOS"],"sub_categories":["JavaScript"],"readme":"# 项目介绍\n\n在 mac 下，实现与服务器进行便捷的文件上传和下载操作。\n\n\n# 步骤\n\n1.安装支持rz和sz命令的lrzsz：`brew install lrzsz`\n\n\u003e 等了挺长时间的。\n\n2.在本地/usr/local/bin/目录下保存iterm2-send-zmodem.sh 和iterm2-recv-zmodem.sh两个脚本\n\n3.设置一下两个脚本的权限，一般 chmod 777 就行了\n\n```bash\nchmod 777 /usr/local/bin/iterm2-*\n```\n\n4.设置Iterm2的Tirgger特性，profiles-\u003edefault-\u003eeditProfiles-\u003eAdvanced中的Tirgger\n\n添加两条trigger，分别设置 Regular expression，Action，Parameters，Instant如下：\n\n```\n1.第一条\n        Regular expression: rz waiting to receive.\\*\\*B0100\n        Action: Run Silent Coprocess\n        Parameters: /usr/local/bin/iterm2-send-zmodem.sh\n        Instant: checked\n2.第二条\n        Regular expression: \\*\\*B00000000000000\n        Action: Run Silent Coprocess\n        Parameters: /usr/local/bin/iterm2-recv-zmodem.sh\n        Instant: checked\n```\n\n![如图](https://github.com/aikuyun/iterm2-zmodem/blob/master/imgs/01.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faikuyun%2Fiterm2-zmodem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faikuyun%2Fiterm2-zmodem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faikuyun%2Fiterm2-zmodem/lists"}