DEV Community

An Pham
An Pham

Posted on

TIL: Croc - Securely transfer files via CLI

Introduction

croc is a tool that allows any two computers to simply and securely transfer files and folders.

Install

  • macOS
brew install croc
Enter fullscreen mode Exit fullscreen mode
  • Ubuntu
curl https://getcroc.schollz.com | bash
Enter fullscreen mode Exit fullscreen mode
  • Window
scoop install croc
Enter fullscreen mode Exit fullscreen mode

Usage

  1. Send file or folder
croc send [file(s)-or-folder]
Enter fullscreen mode Exit fullscreen mode
  1. Receive the file
croc [code from output]
Enter fullscreen mode Exit fullscreen mode

More feature, please visit to https://github.com/schollz/croc

Top comments (0)