Skip to content

Put file from stdin #322

@A1EF

Description

@A1EF

Is it possible to read file from stdin with put? Since s3cmd supports that I tried something like that with s4cmd but got error:

~$ echo foo | s4cmd --endpoint-url https://s3.example.net put - s3://bucketname/test
[OSError] 2: No such file or directory
[Thread Failure] [Errno 2] No such file or directory: '-'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions