📅  最后修改于: 2022-03-11 14:50:03.246000             🧑  作者: Mango
# 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 s3:// --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive
# setting exclude or include flags
aws s3 cp s3:/// --recursive --exclude "*.jpg" --include "*.log"