Difference between revisions of "Aws s3 cp"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html
 
* <code>[[aws s3]] cp [[s3://]]mybucket . --recursive</code>
 
* <code>[[aws s3]] cp [[s3://]]mybucket . --recursive</code>
 
* <code>aws s3 cp s3://mybucket/test.txt test2.txt</code>
 
* <code>aws s3 cp s3://mybucket/test.txt test2.txt</code>
 +
 +
[[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 ==
* {{s3}}
+
* {{aws s3}}
* {{AWS}}
 
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 05:38, 20 June 2024

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html

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: