Volem enviar el fitxer
$ wormhole send README.txt
Resultat:
Sending 6.6 kB file named 'README.txt'
Wormhole code is: 22-leprosy-scenic
On the other computer, please run:
wormhole receive 22-leprosy-scenic
A l'altre ordinador (remot), executem la comanda 'receive' amb el codi d'un sol ús, generat al primer ordinador: en aquest cas, '22-leprosy-scenic':
$ wormhole receive 22-leprosy-scenic
Resultat a l'ordinador remot:
Receiving file (6.6 kB) into: README.txt
ok? (y/N): y
Receiving (->tcp:192.168.1.140:58561)..
100% | 6.62k/6.62k [00:00<00:00, 52.7kB/s]
Received file written to README.txt
Fet! Ràpid i senzill.
Per tasques senzilles,
Instal·lació
$ sudo apt install magic-wormhole # debian, ubuntu
$ brew install magic-wormhole # OS X
$ pip install magic-wormhole # windows
Documentació oficial: https://magic-wormhole.readthedocs.io/en/latest/welcome.html
Salut!
Lluís