How list Amazon S3 bucket contents by modified date?

后端 未结 8 1294
[愿得一人]
[愿得一人] 2020-12-14 06:30

Most of the time it happens that we load files in a common S3 bucket due to which it becomes hard to figure out data in it.

How can I view objects uploaded on a part

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-14 06:49

    A simple way to do this in linux is as follows:

    DATE=$(date +%Y-%m-%d)
    aws s3 ls s3:/// | grep $DATE
    

提交回复
热议问题