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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
DOES NOT WORK
<pre>
<pre>
$ aws --profile mystuffa s3 ls --region us-east-1 "s3://s3.amazonaws.com/myfile-file-shares” - DOES NOT WORK
$ aws --profile mystuffa s3 ls --region us-east-1 "s3://s3.amazonaws.com/myfile-file-shares”  
</pre>
</pre>


VS
WORKS


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


working command:
working example:


<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