Skip to content

Instantly share code, notes, and snippets.

@elusive
Created February 18, 2021 19:53
Show Gist options
  • Save elusive/aeee40095d738141e6158e81720286b7 to your computer and use it in GitHub Desktop.
Save elusive/aeee40095d738141e6158e81720286b7 to your computer and use it in GitHub Desktop.
Share files via HTTP
# in wsl use this:
python -m SimpleHTTPServer
# but in windows use this:
python -m http.server
@elusive
Copy link
Author

elusive commented Feb 18, 2021

Moving files to VM

The easiest way to move files around is via http server. And with python installed it is very easy to spin up a simple http server instance and then "download" the files onto the vm. This is easier then having to move them with ssh, etc.

# in wsl use this:
python -m SimpleHTTPServer

# but in windows use this:
python -m http.server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment