Configured s3 cmd and upload directory on to S3 bucket

Import S3tools signing key:  
wget -O- -q http://s3tools.org/repo/deb-all/stable/s3tools.key | sudo apt-key add -

 Add the repo to sources.list:  
sudo wget -O/etc/apt/sources.list.d/s3tools.list http://s3tools.org/repo/deb-all/stable/s3tools.list

Refresh package cache and install the newest s3cmd: 
sudo apt-get update && sudo apt-get install s3cmd 


s3cmd --configure

 New settings:
2 Access Key: [your access key]
3 Secret Key: [your securet key]
4 Encryption password: somepassword
5 Path to GPG program: /usr/bin/gpg
6 Use HTTPS protocol: False
7 HTTP Proxy server name: 
8 HTTP Proxy server port: 0
9 Test access with supplied credentials? [Y/n] Y
10 Please wait...
11 Success. Your access key and secret key worked fine :-)
12 
13 Now verifying that encryption works...
14 Success. Encryption and decryption worked fine :-) 
15 Save settings? [y/N] y
 s3cmd sync s3://acc1_bucket/folder/ s3://acc2_bucket/folder --recursive
 

Comments

Popular Posts

How to pass hash in Postman

nginx: unrecognized service

Bootstrap Select Picker append add new item if search not exist

Reading Excel Sheets using "Roo" gem in ruby on rails

Add CORS to Nginx on AWS Elastic Beanstalk

Enable gzip compression on Elastic Beanstalk with nginx

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

Get video duration by URL in Ruby on Rails

site-enables nginx setting in ruby in rails