1.1.0 • Published 11 years ago
s3print v1.1.0
s3print
Print the contents of a file on S3 to stdout
Install
$ npm install -g s3printConfiguration
Provide S3 credentials through any means supported by the AWS JS SDK. If the file is publicly accessible, you do not need to provide any credentials. If you use the --prefix option you'll need permission to ListBucket in the appropriate bucket.
Usage
$ s3print s3://s3print-test/test-file
# Prints "Hello world!"
$ s3print --prefix s3://s3print-test/
# Lists object under the given prefix and prints them allAlternative
A similar functionality is delivered by the aws-cli as follows:
$ aws s3 cp s3://s3print-test/test-file -
# Prints "Hello world!"