AWS CLI S3 Notes: Difference between revisions

From Public wiki of Kevin P. Inscoe
Jump to navigation Jump to search
(Created page with "$ aws --profile mystuffa s3 ls --region us-east-1 "s3://s3.amazonaws.com/myfile-file-shares” - DOES NOT WORK VS $ aws --profile mystuffa s3 ls --region us-east-1 "s3://yf...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
$ aws --profile mystuffa s3 ls --region us-east-1 "s3://s3.amazonaws.com/myfile-file-shares” - DOES NOT WORK
DOES NOT WORK


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


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


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


$ date; time aws  --profile mystuffa --region us-east-1 s3 sync /ftp s3://yfile-file-shares/Tools ; date
working example:
 
<pre>
$ date; time aws  --profile mystuffa --region us-east-1 s3 sync /ftp s3://myfile-file-shares/Tools ; date
</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