4

Sending files with wormhole

 2 years ago
source link: https://willschenk.com/articles/2021/sending_files_with_wormhole/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Sending files with wormhole

Will Schenk

Articles Contact Tags

Sending files with wormhole

tools I didn’t know

Published May 19, 2021 #tools, #howto, #wormhole

I saw this tweet this morning:

Use Signal for messages.

Use Tarsnap for backups.

Use Magic Wormhole for file transfers.

Use age for file encryption (but make sure file encryption is actually what you need). https://t.co/Ih5D5dNa6x

— Thomas H. Ptacek (@tqbf) May 18, 2021

I've heard of the other things, but what is magic wormhole? Its a way to send files from one computer to another using a magic phrase. The idea is that you are on the phone with someone, you send them a file, say a phrase over the phone, and they use that phrase to get the files to their computer.

Let's try it. On Debian:

sudo apt install magic-wormhole

Or OSX

brew install magic-wormhole

Sending a file

To send a file

  $ md5sum Anarchist\ Design\ Book.pdf
  bb30cdf2185d40cff0e269a954f05d8e  Anarchist Design Book.pdf

  $ wormhole send Anarchist\ Design\ Book.pdf
  Sending 26.7 MB file named 'Anarchist Design Book.pdf'
  Wormhole code is: 1-glossary-neptune
  On the other computer, please run:

  wormhole receive 1-glossary-neptune

And then on the other side:

  $ wormhole receive 1-glossary-neptune
  Receiving file (26.7 MB) into: Anarchist Design Book.pdf
  ok? (y/N): y
  Receiving (<-209.133.79.248:9245)..
  100% 26.7M/26.7M [00:11<00:00, 2.27MB/s]
  Received file written to Anarchist Design Book.pdf

  $ md5sum Anarchist\ Design\ Book.pdf
  bb30cdf2185d40cff0e269a954f05d8e  Anarchist Design Book.pdf

Fast and easy, at least once you have it installed!

Read next

See also

Docker One Liners

Why install

I use docker in my workflow as an application and environment manager. I switch between multiple physical computers a lot, and like to have things self contained within work spaces that I can move from one computer to another easily, normally using `git`. Here are a few tricks that I use to have the lightest touch on my local installation as possible. Orientation If you want to install a specific set of software, you use a `Dockerfile` to create an `image`.

Read more

Using Askgit

SQL is so nice

askgit provides a sql interface to your git repository. Let's install it and see what we can figure out about the repo. Installing Following the instructions on the website, we can build the go binary with: go get -v -tags=sqlite_vtable github.com/augmentable-dev/askgit This will download the package, the dependencies, and compile everything into an executable. If you can't figure out where it's installed, check that you have GOPATH set correctly, and it will end up in $GOPATH/bin.

Read more

Getting Websters

More glorious language

A few years ago I read a great post about the value of a good dictionary, which I installed on my laptop and then promptly forgot about. The post is very moving, and I recommend checking it out. It was recently mentioned on the planet emacs blog circuit and so I thought I'd document how to get it up and running on my laptop. Also I don't understand what the appeal of John McPhee's writing, I've tried a few of his books but found them all so plodding.

Read more

Made in Brooklyn, NY.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK