croc, transfer files between computers

Moderator: Forum moderators

Post Reply
williams2
Posts: 1026
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 291 times

croc, transfer files between computers

Post 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

User avatar
rockedge
Site Admin
Posts: 5825
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2077 times
Been thanked: 2172 times
Contact:

Re: croc, transfer files between computers

Post by rockedge »

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

Post Reply

Return to “File Management”