Skip to content

Instantly share code, notes, and snippets.

@dac73
Last active December 10, 2018 04:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dac73/e852802ef16aba83fdc6c24face50b1c to your computer and use it in GitHub Desktop.
Save dac73/e852802ef16aba83fdc6c24face50b1c to your computer and use it in GitHub Desktop.
aws cli
# get latest objects from S3 bucket
aws s3api list-objects --bucket {S3-bucket-name} --query "Contents[?LastModified>=\`$(date +%Y-%m-%d)\`][]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment