Can the AWS CLI tool be used to only list/retrieve certain file types in S3? I was trying:
aws s3 ls --summarize --human-readable --recursive s3://cloudfront.abc.com/CDNSource/hls/ --include "*.m3u8"
but receiving "Unknown options: --include,*.m3u8"
I tried grep but it will just filter the return, so the sum will still be incorrect.
I need to download all m3u8 files and then reupload them with a change.
what's the best way to do that? Any help would be greatly appreciated.