s3 icon indicating copy to clipboard operation
s3 copied to clipboard

s3 put - allow stdin for source file

Open hdpdevops opened this issue 5 years ago • 0 comments

Love this tool, very clean and easy to use.

I would like to use this tool to upload data via the stdin using a pipe.

Bad Eg. > echo dog | s3 put -- - s3://my-bucket/favorite-animal

Better Eg. > mysqldump large_database | gzip -9 | s3 put -- - s3://database-backups/large-database.tar.gz

I have tried something like this and it doesn't seem to work. Is there a workaround for this?

Thanks!

hdpdevops avatar Apr 16 '19 12:04 hdpdevops