2 Answers
- Newest
- Most votes
- Most comments
0
Please see the more clear syntax
for /f "tokens=*" %%a in ('aws s3api list-objects-v2 --bucket <bucket> --prefix <prefix> --no-cli-auto-prompt --query Contents[*].[Key] --output text') do (
for /f "tokens=*" %%b in ('aws s3api get-object-tagging --bucket <bucket> --key %%a --no-cli-auto-prompt --query "TagSet[0]==null" --output text') do (
if %%b==True @echo %%a >> <file>
)
)
answered 2 years ago
0
Hello,
At this moment AWS released a new feature to query tags. It is called Amazon S3 Metadata, and it works as described here
Have a good day,
answered 4 months ago
Relevant content
- asked 2 years ago
- asked 3 years ago