ame

croc 轻松在两台电脑之间传输文件
Github : https://github.com/schollz/croc 安装 Linux curl ht...
扫描右侧二维码阅读全文
04
2019/07

croc 轻松在两台电脑之间传输文件

Github : https://github.com/schollz/croc

安装

Linux

curl https://getcroc.schollz.com | bash

macOS

brew install schollz/tap/croc

Win

scoop bucket add schollz-bucket https://github.com/schollz/scoop-bucket.git
scoop install croc

如果没有安装 scoop ,可以在 https://scoop.sh/ 获取

确保你安装了 PowerShell 5 (or later, include PowerShell Core) and .NET Framework 4.5 (or later)

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

如果出现powershell requires an executionpolicy of 'remotesigned' to run scoop请执行

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

使用

发送文件

croc send [file(s)-or-folder]

接收文件

croc code-phrase

自定义接收码

croc send --code [code-phrase] [file(s)-or-folder]
Last modification:July 4th, 2019 at 04:03 pm

Leave a Comment