Page 1 of 1

croc, transfer files between computers

Posted: Wed Apr 14, 2021 9:51 pm
by williams2

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

To install croc, browse this web page:
https://github.com/schollz/croc

I clicked the "Download the latest release for your system" link, and downloaded the file croc_8.6.12_Linux-64bit.deb
You can click it to install, or use uextract to upzip it. The executable croc file is statically built, so it has most of the dependencies built into the file. So it should run in any 64 bit Linux distro.

There are 32 bit versions, and for Macs, BSD, Windows, and ARM.

To send a file named "test.jpg", just type in a text console"croc send test.jpg":

Code: Select all

# croc send test.jpg 
Sending 'test.jpg' (718.7 kB)
Code is: quality-eric-imitate
On the other computer run

croc quality-eric-imitate

To download it to another computer, just do what it says, type:

Code: Select all

croc quality-eric-imitate

Croc will generate a different code password each time. Or use your own. For example:

Code: Select all

croc send --code puppy-rocks test.jpg

Then type this in the other computer to receive the fiile:

Code: Select all

croc puppy-rocks

Press ctrl+c if you need to stop the program.

For more information, read https://github.com/schollz/croc

allows any two computers to transfer data (using a relay)
provides end-to-end encryption (using PAKE)
enables easy cross-platform transfers (Windows, Linux, Mac)
allows multiple file transfers
allows resuming transfers that are interrupted
local server or port-forwarding not needed
ipv6-first with ipv4 fallback
can use proxy, like tor


Re: croc, transfer files between computers

Posted: Thu Apr 15, 2021 12:17 am
by rockedge

@williams2 this program is really helpful! Nice tip, thank you for the share