s3fs
is an Amazon S3 client that provides a familiar interface for navigating and managing S3 buckets and objects. The goal of s3fs
is to allow you to interact with Amazon S3 as you would your local filesystem.
Simply go to the releases page and download the appropriate binary for your environment.
s3fs
is written in Go and can be installed using go get
if you have a working Go environment.
go get github.com/KyleBanks/s3fs
Execute the s3fs
command to launch the application, and then use the appropriate commands outlined below to navigate Amazon S3 as if it were a local filesystem.
s3fs
Changes the current working directory.
Examples:
# Move into a bucket
$ cd bucket
# Move into a folder within a bucket
$ cd bucket/folder/subfolder
# Move back to root
$ cd /
Prints the current working directory.
Examples:
$ cd bucket/folder
$ pwd
/bucket/folder
Lists current directory contents.
Examples:
# Print bucket list when at root.
$ ls
[B] bucket1
[B] bucket2
[B] bucket3
# Print object list when in a bucket.
$ cd bucket1
$ ls
folder1/
folder2/
file1.txt
$ cd folder1
$ ls
subfolder/
file2.txt
file3.txt
Downloads a remote Amazon S3 object to the local filesystem.
Examples:
# Download to the current directory
$ get bucket/folder/file.txt
# Download to a specific location
$ get file.txt ~/Desktop/
Uploads a local file to Amazon S3.
Examples:
# Upload to the pwd
$ put file.txt
# Upload to a specific location
$ put file.txt bucket/folder
clear
clears all terminal output.exit
quitss3fs
.
There are a number of commands left to implement, and contributions are more than welcome! Specifically, commands to upload and download files, folders, and buckets are sorely missing.
Check the issues page if you're interested in contributing or if you feel a feature is missing!
s3fs is licensed under Apache License 2.0.