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 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://yfile-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://yfile-file-shares/Tools ; date
</pre>
</pre>

Revision as of 15:49, 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://yfile-file-shares” 

working example:

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