Learn some basics of how to copy files to Amazon S3 using the command line.
First you need an setup your AWS account.
Listing
Want to know what buckets you have? Use the ls
command;
aws s3 ls --profile "your-site"
Making buckets
You can easily create new buckets. Use the mb
command;
aws s3 mb s3://<name-of-your-bucket> --profile "your-site"
Copy files
You can easily create new buckets. Use the cp
command;
aws s3 cp <local-file> s3://<name-of-your-bucket> --profile "your-site"