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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

ios - Possible to get UIButton sizeThatFits to work? -