croc
Send and receive files easily and securely over any network.
TLDR
Send a file or directory
Send a file or directory with a specific passphrase
Receive a file or directory on receiving machine
Send and connect over a custom relay
Receive and connect over a custom relay
Host a croc relay on the default ports
Display parameters and options for a croc command
Help
NAME:
croc - easily and securely transfer stuff from one computer to another
USAGE:
Send a file:
croc send file.txt
Send multiple files:
croc send file1.txt file2.txt file3.txt
or
croc send *.jpg
Send everything in a folder:
croc send example-folder-name
Send a file with a custom code:
croc send --code secret-code file.txt
Receive a file using code:
croc secret-code
VERSION:
v9.5.0-f210ef8
COMMANDS:
send send file(s), or folder (see options with croc send -h)
relay start your own relay (optional)
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--internal-dns use a built-in DNS stub resolver rather than the host operating system (default: false)
--remember save these settings to reuse next time (default: false)
--debug toggle debug mode (default: false)
--yes automatically agree to all prompts (default: false)
--stdout redirect file to stdout (default: false)
--no-compress disable compression (default: false)
--ask make sure sender and recipient are prompted (default: false)
--local force to use only local connections (default: false)
--ignore-stdin ignore piped stdin (default: false)
--overwrite do not prompt to overwrite (default: false)
--curve value choose an encryption curve (p521, p256, p384, siec) (default: "siec")
--ip value set sender ip if known e.g. 10.0.0.1:9009, [::1]:9009
--relay value address of the relay (default: "142.93.177.120:9009") [$CROC_RELAY]
--relay6 value ipv6 address of the relay (default: "[2604:a880:800:c1::14c:1]:9009") [$CROC_RELAY6]
--out value specify an output folder to receive the file (default: ".")
--pass value password for the relay (default: "pass123") [$CROC_PASS]
--socks5 value add a socks5 proxy [$SOCKS5_PROXY]
--throttleUpload value Throttle the upload speed e.g. 500k
--help, -h show help (default: false)
--version, -v print the version (default: false)