willstruebing

Results comments of willstruebing

There is a way to do this with the s3api and the --query function. This is tested on OSX aws s3api list-objects --bucket "bucket-name" --query 'Contents[?LastModified>=`2016-05-20`][].{Key: Key}' you can then...

yes. Although you may find it easier to simply use a date prefix for your keys (you cannot query a bucketname/foldername combination using the --bucket option). Using the date prefix...

@kislyuk I agree completely that is does not answer the efficiency issues. However, my intention was to answer the specific question: `Is there a way to simply request a list...

`aws s3api list-objects --bucket "BUCKET" --prefix "OPTIONAL" --query "Contents[?LastModified>='2019-06-08'][].{Key: Key,LastModified: LastModified}"` and then use JQ or your preferred tool to filter out after 2019-06-11

@dmead I agree completely. However, the functionality to do server side filtering does not currently exist (I think that's why so many people end up on this particular post), so...