Last active
March 9, 2024 20:34
-
-
Save arfon/d93c788b4dcfd12029c8fb0d2fdeeb4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install go | |
$ sudo apt-get install golang-go | |
# Download goofys package | |
$ go get github.com/kahing/goofys | |
# Install goofys | |
$ go install github.com/kahing/goofys | |
# Copy the goofys binary to somewhere in your path | |
$ sudo cp go/bin/goofys /usr/bin/ | |
$ cat .aws/credentials | |
[default] | |
aws_access_key_id=YOURAWSACCESSKEY | |
aws_secret_access_key=YOURAWSSECRETKEY | |
# Make a directory to mount the S3 bucket | |
$ mkdir /home/ubuntu/data | |
# Mount the S3 bucket | |
$ goofys --profile=tess stpubdata /home/ubuntu/data | |
# Finally, list the contents of the S3 bucket | |
$ ls /home/ubuntu/data/tess/public/ | |
engineering ffi mast models pixel_list tid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
$ go install github.com/kahing/goofys@latest
, because$ go get github.com/kahing/goofys
outdated 🙂