Difference between revisions of "Aws s3 cp"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{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/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
  
aws s3 cp s3://mybucket/test.txt test2.txt
+
== Related ==
 
+
* [[Terraform module: rds_bastion]]
 +
* [[React caching]]
 +
* <code>[[aws transfer]]</code>
 +
* <code>[[aws s3 ls]]</code>
  
 
== See also ==
 
== See also ==
* {{AWS}}
+
* {{aws s3}}
  
 
[[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: