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]
非技术的路过。
这个 PowerShell 有点好看~
是默认的太丑的..
只有我还在傻傻的用smb嘛
看起来有点好用的样子