Upload file from s3 to STDOUT

I am currently using s3cmd to download a file from s3. However, I would prefer to output the contents to STOUT. Do you know a unix tool that can do this?

Thanks, Jan

+4
source share
1 answer

You need to add - at the end of the command arguments to redirect the output to STDOUT.

Example: s3cmd get s3://... -

See this thread for more details.

+10
source

Source: https://habr.com/ru/post/1444606/


All Articles