Güngör Budak's Blog

Bioinformatics, web programming, coding in general

Transfer Files to Your AWS S3 Storage in Linux

Download following tool and install:

cd ~/Downloads
git clone https://github.com/s3tools/s3cmd.git
cd s3cmd/
sudo python setup.py install

Next, execute following to create a configuration file to connect to your AWS S3 account:

s3cmd --configure

And finally use the following command to transfer any directory to your bucket:

s3cmd sync <path-to-folder> s3://<s3-bucket-name>

More on installation, setup and usage of s3cmd