amazon web services - How to use "aws s3 cp" to output a directory or wildcard to stdout -
i have been able use --recursive multiple files , "-" destination stdout can not seem use them together. example:
this works:
aws s3 cp s3://mybucket-ed/test/ . --recursive
download: s3://mybucket-ed/test/upload-0 ./upload-0 download: s3://mybucket-ed/test/tower.json ./tower.json
and works:
aws s3 cp s3://mybucket-ed/test/upload-0 -
... upload-0 file contents ...
but returns nothing:
aws s3 cp s3://mybucket-ed/test/ - --recursive
any suggestions short of listing out directory contents , doing individual cp commands each file? note need of files in s3 directory sent out stdout (and not recursive option).
Comments
Post a Comment