| name | croc |
| description | Use this skill when the user wants to transfer files securely between computers, send files over the internet, or share data with end-to-end encryption. |
croc Plugin
Easily and securely send things from one computer to another. A simple cross-platform file transfer tool with end-to-end encryption and relay support.
Commands
File Transfer
croc file send — Send files or folders securely
croc file receive — Receive files or folders securely
Utility
croc _ _ — Passthrough to croc CLI
Usage Examples
- "Send a file securely"
- "Transfer files between computers"
- "Receive files with code"
- "Secure file sharing"
Installation
brew install croc
Or via Go:
go install github.com/schollz/croc/v9@latest
Examples
croc file send my-document.pdf
croc file send ./my-project/
croc file send photo.jpg --code my-secret-code
croc file send --text "Hello, secure world!"
croc file receive 1234-5678-9012
croc file receive 1234-5678-9012 --out ~/Downloads/
croc _ _ send myfile.txt
croc _ _ receive my-code
Key Features
- Secure - End-to-end encryption
- Cross-platform - Works on any OS
- Relay - Automatic relay server
- No server - No server setup needed
- Resume - Resumable transfers
- Multiple - Multiple files
- Folders - Folder transfer
- Text - Send text directly
- Local - Local network mode
- Simple - Simple CLI
Notes
- Uses PAKE encryption
- No server configuration
- Works behind firewalls
- Great for quick file sharing