Bulk Upload to S3

By | 2018-12-22

Install and configure AWS command line tools. Run following command to upload content of a directory from your local machine to the given S3 bucket:

 $ aws s3 cp <path to your src dir> s3://bucket-name/folder-name --recursive

If you have configured IAM role, policy and profile that restrict access to S3 you should use the command:

$ aws s3 cp <path to src dir> s3://bucket-name/folder-name --recursive --profile <profile>