AWS CLI S3 Notes: Difference between revisions

From Public wiki of Kevin P. Inscoe
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 8: Line 8:


<pre>
<pre>
$ aws --profile mystuffa s3 ls --region us-east-1 "s3://yfile-file-shares”  
$ aws --profile mystuffa s3 ls --region us-east-1 "s3://myfile-file-shares”  
</pre>
</pre>


Line 14: Line 14:


<pre>
<pre>
$ date; time aws  --profile mystuffa --region us-east-1 s3 sync /ftp s3://yfile-file-shares/Tools ; date
$ date; time aws  --profile mystuffa --region us-east-1 s3 sync /ftp s3://myfile-file-shares/Tools ; date
</pre>
</pre>

Latest revision as of 15:50, 19 August 2020

DOES NOT WORK

$ aws --profile mystuffa s3 ls --region us-east-1 "s3://s3.amazonaws.com/myfile-file-shares” 

WORKS

$ aws --profile mystuffa s3 ls --region us-east-1 "s3://myfile-file-shares” 

working example:

$ date; time aws  --profile mystuffa --region us-east-1 s3 sync /ftp s3://myfile-file-shares/Tools ; date