Skip to content

Instantly share code, notes, and snippets.

@arfon
Last active March 9, 2024 20:34
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save arfon/d93c788b4dcfd12029c8fb0d2fdeeb4c to your computer and use it in GitHub Desktop.
Save arfon/d93c788b4dcfd12029c8fb0d2fdeeb4c to your computer and use it in GitHub Desktop.
# 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
@bas-kirill
Copy link

Use $ go install github.com/kahing/goofys@latest, because $ go get github.com/kahing/goofys outdated 🙂

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