croc Simple file transfer
Light · Postcard
102 × 152 mm · PDF
Dark · Postcard
102 × 152 mm · PDF
Ink saver · Postcard
102 × 152 mm · PDF
Light · A4 landscape
297 × 210 mm · PDF
Dark · A4 landscape
297 × 210 mm · PDF
Ink saver · A4 landscape
297 × 210 mm · PDF
Light · A3 landscape
420 × 297 mm · PDF
Dark · A3 landscape
420 × 297 mm · PDF
Ink saver · A3 landscape
420 × 297 mm · PDF
Start here
croc send <file>
croc <code>
croc send <dir>
croc send --text "<msg>"
croc send --code <phrase>
CROC_SECRET=<code> croc
croc --yes <code>
croc --out <dir> <code>
Concepts
- Sender croc send
- Relay matches both sides
- Receiver croc <code>
Send
croc send <file>
croc send <file> <dir>
croc send --text "<msg>"
croc send --code <phrase>
cat <file> | croc send
croc send --zip <dir>
croc send --qr <file>
croc send --exclude "<a>,<b>"
croc send --exclude-file
"<p1>,<p2>"
croc send --git <dir>
croc send --no-local <file>
croc send --hash imohash <dir>
croc send --transfers <n>
croc send --port <n>
Receive
croc <code>
CROC_SECRET=<code> croc
croc --out <dir> <code>
croc --yes <code>
croc --overwrite --yes <code>
croc --rename <code>
croc --yes --stdout <code> > <file>
croc --ignore-stdin
croc --classicOptions
croc --ask send <file>
croc --no-compress send <file>
croc --throttleUpload 500k send <file>
croc --local send <file>
croc --curve p521 send <file>
croc --quiet send <file>
croc --disable-clipboard send <file>
croc --extended-clipboard send <file>
croc --remember send <file>
croc --debug <code>
Relay and network
croc relaycroc relay --ports 1111,1112
croc --relay <host:9009> send <file>
croc --relay <host:9009> --pass <pw>
<code>
CROC_RELAY=<host:9009> CROC_PASS=<pw>
croc
croc --ip <host:9009> <code>
croc --socks5 127.0.0.1:9050 send <file>
croc --connect <host:port> send <file>
croc send --transport relay <file>
Store and extras
croc store <file>
croc store --downloads 3 --expiration 3d <file>
croc sshCROC_SECRET=<invite> croc ssh
croc update --check
croc updatecroc --revoke <id>
croc --versioncroc --helpcroc send --help
Recipes
croc send --git --zip <project-dir># receiver:croc <code>
tar czf - <dir> | croc send# receiver:croc --yes --stdout <code> | tar xzf -
# on the serverCROC_PASS=<pw> croc relay# on each clientexport CROC_RELAY=<server>:9009 CROC_PASS=<pw>croc send <file>
CROC_SECRET=<code> croc --yes --overwrite --out <dir>



