Snippets Collections
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"'`]'
star

Wed Aug 17 2022 23:25:31 GMT+0000 (UTC)

#bash #cc #aws-cli

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension