Скопировать файл с локального к S3 Bucket AWS CLI

# Single File. --grants flag is optional
aws s3 cp file.txt s3://my-bucket/ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=emailaddress=user@example.com
# Multiple Files from directory. --grants flag is optional
aws s3 cp <your directory path> s3://<your bucket name> --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive
# setting exclude or include flags
aws s3 cp <your directory path> s3://<your bucket name>/ --recursive --exclude "*.jpg"  --include "*.log"
Outrageous Orangutan