1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
If you need 5 object keys sorted in ascending order of size among objects modified after 2022-12-28, how about this?
aws s3api list-objects-v2 --bucket BUCKETNAME --query 'sort_by(Contents[?LastModified>=
'"2022-12-28"'], &Size)[-5:].Key'
回答済み 1年前