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

5 comments

  1. repostone

    非技术的路过。

  2. 蝉時雨

    这个 PowerShell 有点好看~

    1. ame
      @蝉時雨

      是默认的太丑的..

  3. ⑨BIE

    只有我还在傻傻的用smb嘛

  4. 猫箱内の巴托拉

    看起来有点好用的样子