SINCE=`date --date '-2 weeks +2 days' +%F 2>/dev/null || date -v '-2w' -v '+2d' +%F` bucket=<bucketname> aws s3api list-objects-v2 --bucket "$bucket" \ --query 'Contents[?LastModified > `'"$SINCE"'`]'
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter