To check the capacity of the S3 using AWS commands, follow these steps:
Use the summarize option to finally inform you of the number of objects on the s3 path and the total size
aws3 ls3://[Bucket]/Directory --summarize
But if there's a space in the [Bucket] part, e.g. 137. ABC lama
aws3 ls3://137.Hanada llama/directory --summarize
Lower face
unknown option: 137. Hanada, Lamar
This is how the error occurs.
What should I do?
aws
It's working if you put it in quotation marks Thank you.
© 2024 OneMinuteCode. All rights reserved.