Difference between revisions of "Aws s3 cp"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* <code>aws s3 cp s3://mybucket/test.txt test2.txt</code> | * <code>aws s3 cp s3://mybucket/test.txt test2.txt</code> | ||
− | [[--cache-control]] | + | [[aws s3]] cp [[--cache-control]] |
+ | [[aws s3]] cp --cache-control [[max-age]]=60 | ||
+ | |||
+ | |||
+ | [[aws s3]] cp myfile.txt s3://mybucket | ||
+ | upload: ./myfile.txt to s3://mybucket/myfile.txt | ||
== Related == | == Related == | ||
* [[Terraform module: rds_bastion]] | * [[Terraform module: rds_bastion]] | ||
+ | * [[React caching]] | ||
+ | * <code>[[aws transfer]]</code> | ||
+ | * <code>[[aws s3 ls]]</code> | ||
== See also == | == See also == |
Latest revision as of 05:38, 20 June 2024
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html
aws s3 cp s3://mybucket . --recursive
aws s3 cp s3://mybucket/test.txt test2.txt
aws s3 cp --cache-control aws s3 cp --cache-control max-age=60
aws s3 cp myfile.txt s3://mybucket upload: ./myfile.txt to s3://mybucket/myfile.txt
Related[edit]
See also[edit]
Advertising: