Comment

Comment by sandreas

Great and detailed response, thank you. Well, I asked, because a longer while ago I wrote a cross platform tool named `graft` [1] to solve a similar issue: Having to transfer files without needing too much boilerplate on windows, linux and macOS.

`graft` is a "risk your files for convenience" tool with pretty bad performance - so I would not recommend using it for something else than `graft serve` and `graft receive`, but these two are pretty handy.

`graft serve ".zip"` will scan the current directory for `.zip` recursively, start a password authenticated sftp server and providing all findings (and only them) via `mdns`.

While you COULD use any sftp client, you also can use any other host in the same network supporting mdns to just `graft receive` (without hostname) and `graft` will find the running instances in the network. If it is only one, it will connect, otherwise you can choose.

This is indeed pretty convenient :-) - as I said, I wouldn't rely on this for important files.

1: https://github.com/sandreas/graft

parent sandreas 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton