Live data from Hacker News

How to copy a file between devices? (2022)

grdw.nl

131–140 of 354 posts

Re: How to copy a file between devices? (2022)

#131

Any hackers left here? Why no one mentions netcat? # send cat file | nc -l -p 8888 # receive nc IP-OF-SENDER 8888 > file this works as long as both computers are connected to the same network, for example the internet

I ended up writing encrypted netcat.

Re: How to copy a file between devices? (2022)

#132
Bluetooth file transfer is not accessible enough for non-technical people? I mean I guess you have to mark the device you want to send to as "discoverable". If anything the real problem is that it's not very fast, but that's only an issue if you are sending particularly large files. This is still often my go-to solution aside from Tailscale's Taildrop feature.

Re: How to copy a file between devices? (2022)

#133

Warpinator in Linux Mint works nice in this regard. Works in local networks, discovers it's peers and has mobile clients.

Interesting, apparently there are implementations (unofficial, beta) for Android, iOS and Windows.

https://github.com/linuxmint/warpinator

Re: How to copy a file between devices? (2022)

#135

I must be missing something, but right-click -> share already works just fine? Share with kde connect, select your windows, linux, iOS, android whatever device, done. The only restriction is that both devices are connected to the same WiFi. Why are you looking for cloud solutions for a local transfer?

Thanks for sharing this. Didn't know this and just tried it. Works amazing!

Re: How to copy a file between devices? (2022)

#136
I regularly have to send files to customers, from a few megabytes to a few gigs. It's incredibly hard.

Mail? Goes to spam.

WeTransfer? Mail clients break URL.

Download from my website? Some stupid browser will display the zip data onscreen.

Send the link through messenger? Messenger breaks the link.

SaaS gallery? Some file managers can't open the zip file.

I've been doing that for two years now. Still don't have a 100% working solution. It drives me mad. Just yesterday I spent 30 minutes sending 3 jpeg files to a customer.

Re: How to copy a file between devices? (2022)

#137
post #102

Here's a thought: This article is exploring the wrong problem. The filesystem where my files reside should already be a fully-distributed filesystem covering all the devices I own, right from the moment I buy and enroll them. With that precondition, my file is already where I need, and any physical bit shuffling is just a detail managed by the OS, using whatever connectivity is already available (or prompting me to "…

>The filesystem where my files reside should already be a fully-distributed filesystem covering all the devices I own

I'd rather not set up the possibility for a single software bug to destroy all my data at once. Even if you have good backups, there could be subtle data corruption that you don't notice until it's too late.

Re: How to copy a file between devices? (2022)

#139

Tailscale recently added local file transfers called Taildrop https://tailscale.com/kb/1106/taildrop This really solved this issue for me, right click a file and select the receiving peer and it just appears instantly on the other device.

What I really miss here is taildrop between different users. What if I want to send a file to a coworker?

Re: How to copy a file between devices? (2022)

#140

I have gotten a lot of use out of croc. https://github.com/schollz/croc F-droid has an android app and the cli runs on Linux, Mac, and Windows. Super pain free. It's not a synchronization solution, but sends stuff pretty easily.

Came here to say this. It's as simple as:

(sending computer)

    computer-1$ croc file-i-want-to-send.txt
    Did you mean to send 'file-i-want-to-send.txt'? (Y/n) y
    Sending 'file-i-want-to-send.txt' (555 B)       
    Code is: 1234-some-diceware-passphrase
    On the other computer run

    croc 1234-some-diceware-passphrase
(receiving computer)

    computer-2$ croc 1234-some-diceware-passphrase
    Accept 'file-i-want-to-send.txt' (555 B)? (Y/n) y

    Receiving (
You can also just drag-and-drop a file onto the executable icon and it will pop up a GUI letting you do the same thing. Transfer is encrypted, no account needed.
Post reply on HN