croc
schollz/croc
两台电脑之间安全传文件的命令行工具
部署命令
croc() { [ $# -eq 0 ] && set -- ""; mkdir -p "$HOME/.config/croc"; docker run --rm -it --user "$(id -u):$(id -g)" -v "$(pwd):/c" -v "$HOME/.config/croc:/.config/croc" -w /c -e CROC_SECRET docker.io/schollz/croc "$@"; }摘自项目 README。需要一台装了 Docker 的服务器,命令可能还需补充环境变量。
项目简介(摘自 README)
croc is a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following:
- 星数
- ★ 40.4k
- 语言
- Go
- 许可证
- MIT
- 最近更新
- 2026-09-20
- 分类
- 安全隐私
- 场景
- 通用工具