trsz-go 是 trzsz 的 Go 版本,可使支持本地 shell 的所有终端支持 trzsz (trz/tsz)。
trzsz-go 是一个 CLI 工具,可在具有本地 shell 支持的终端中提供原生 trzsz (trz/tsz) 文件传输支持。此外,还可以嵌入到基于 Go 的终端应用中,以提供原生 trzsz 集成。
⭐ 建议在服务器上使用 trzsz 的 go 版本,在本地使用 trzsz-ssh ( tssh )。
请参阅 https://trzsz.github.io/py 以获取有关 trzsz ( trz/tsz) 的更多信息。
sudo apt update && sudo apt install software-properties-common
sudo add-apt-repository ppa:trzsz/ppa && sudo apt update
sudo apt install trzsz sudo apt install curl gpg
curl -s 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x7074ce75da7cc691c1ae1a7c7e51d1ad956055ca' \
| gpg --dearmor -o /usr/share/keyrings/trzsz.gpg
echo 'deb [signed-by=/usr/share/keyrings/trzsz.gpg] https://ppa.launchpadcontent.net/trzsz/ppa/ubuntu jammy main' \
| sudo tee /etc/apt/sources.list.d/trzsz.list
sudo apt update
sudo apt install trzsz sudo dnf copr enable @trzsz/trzsz
sudo dnf install trzsz echo '[trzsz]
name=Trzsz Repo
baseurl=https://yum.fury.io/trzsz/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/trzsz.repo
sudo yum install trzsz
```
- 使用 [wlnmp](https://www.wlnmp.com/install) 仓库进行安装。对于 trzsz,不需要配置 epel 仓库。
```sh
curl -fsSL "https://sh.wlnmp.com/wlnmp.sh" | bash
sudo yum install trzsz
```
- 在 ArchLinux 上使用 yay 安装
yay -S trzsz
```sh
yay -Syu
yay -S trzsz brew install trzsz-go暂无开放 Issues,或尚未同步最近议题。