How to list AWS S3 bucket contents by modified date?

You can use AWS CLI s3api List-Objects and query on the modified date field to to list all the objects during a specific time as shown below –

This Post Has One Comment

  1. Avatar


    What if i just want files 1 day back every day, or Hours, minutes
    I would like to se if there is a backupfile from yesterday in a S3 bucket? and that I want to do everyday.
    ?LastModified -1 day
    How can i build in that mechanism ?


Leave a Reply