Skip to content

Instantly share code, notes, and snippets.

@tfentonz
Created November 5, 2018 08:04
Show Gist options
  • Save tfentonz/b02b8dcea9f92071ad2e9b7cbebf1e36 to your computer and use it in GitHub Desktop.
Save tfentonz/b02b8dcea9f92071ad2e9b7cbebf1e36 to your computer and use it in GitHub Desktop.
List S3 objects last modified after a specified date
aws s3api list-objects --bucket A_BUCKET --prefix A_PREFIX --query 'Contents[?LastModified>=`2012-03-04`][].{Key: Key, Size: Size, LastModified: LastModified}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment