Difference between revisions of "Aws s3 cp"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
  [[aws s3]] cp [[--cache-control]]
 
  [[aws s3]] cp [[--cache-control]]
 
  [[aws s3]] cp --cache-control [[max-age]]=60
 
  [[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 ==
Line 11: Line 15:
 
* [[React caching]]
 
* [[React caching]]
 
* <code>[[aws transfer]]</code>
 
* <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 --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: