Skip to content

Instantly share code, notes, and snippets.

@avnerbarr
Created November 15, 2017 19:50
Show Gist options
  • Save avnerbarr/04f27a39cd4749bde72c09f2d3c0da49 to your computer and use it in GitHub Desktop.
Save avnerbarr/04f27a39cd4749bde72c09f2d3c0da49 to your computer and use it in GitHub Desktop.
brew cask install osxfuse
brew install s3fs
mkdir -p ~/.s3/folder_to_mount_bucket_to
chmod 600 ~/.s3/folder_to_mount_bucket_to
# create a token in the AWS console https://console.aws.amazon.com/iam/home?#home
# replace the following with your values
echo MYIDENTITY:MYCREDENTIAL >~/.s3/passwd
# mount which ever bucket you want
s3fs dy-datafeeds-dev ~/.s3/folder_to_mount_bucket_to -o passwd_file=~/.s3/passwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment