Friday, 15 August 2014

amazon web services - How to use "aws s3 cp" to output a directory or wildcard to stdout -


For example, for example I use multiple files and stdout to successfully "use them together:

This works:

aws s3 cp s3: // mybucket-ed / test / --recursive

  Download: s3: // mybucket -ed / test / upload-0 to ./upload-0 Download: s3: //mybucket-ed/test/tower.json/treat.json  

And it works Is:

aws s3 cp s3: // mybucket-ed / test / upload-0 -

  ... upload-0 file contents ...  

but it returns nothing:

  aws s3 cp s3: // mybucket-ed / test / - --recursive  

Any information directory is less than listing files and reducing individual CP commands for each file? Note that all the files have been sent to stdout in the S3 directory (And not necessarily recursive options).


No comments:

Post a Comment