SANDESH//

device-to-device file transfer

Connection

1 — share this code
#--------

Open this page on the other device — any network, it works over the internet — and have it enter this code.

Transfer

drag files or a whole folder here
connect to a peer first
receive into
No internet? A direct cable is enough — everything below runs in a terminal, nothing to install.
  1. Connect the cable and give each laptop an IP (find the interface name with ip addr):
    sudo ip addr add 169.254.10.1/24 dev — yours
    sudo ip addr add 169.254.10.2/24 dev — theirs
  2. Check the link: ping 169.254.10.2
  3. Easiest — share a folder from your laptop (python3 comes preinstalled):
    cd ~/Videos && python3 -m http.server 8000
    The other laptop opens http://169.254.10.1:8000 in its browser and downloads files. Press Ctrl+C to stop sharing.
  4. Or push straight to the other machine over SSH (-r copies whole folders):
    scp -r ./D-Data [email protected]:~/Downloads/
    Caveat: the receiving laptop needs openssh-server. Check with systemctl status ssh — if it's missing you can't install it offline, so use the method above instead.