Open hdpdevops opened 5 years ago
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
> 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
> 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!
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!