AWS CLI S3 Notes: Difference between revisions
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” | $ aws --profile mystuffa s3 ls --region us-east-1 "s3://s3.amazonaws.com/myfile-file-shares” | ||
</pre> | </pre> | ||
WORKS | |||
<pre> | <pre> | ||
$ aws --profile mystuffa s3 ls --region us-east-1 "s3:// | $ aws --profile mystuffa s3 ls --region us-east-1 "s3://myfile-file-shares” | ||
</pre> | </pre> | ||
working | working example: | ||
<pre> | <pre> | ||
$ date; time aws --profile mystuffa --region us-east-1 s3 sync /ftp s3:// | $ 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