s3
s3 copied to clipboard
s3 put - allow stdin for source file
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!