-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command: add pipe command (#182) #587
Conversation
I tested this in production for uploading a 500 GB file that was the output of tar and it seemed to work well! Just wanted to add my 2 cents here. I did this by
tar -cf - "$INPUT" | zstd -1 --stdout | \
~/go/bin/s5cmd --endpoint-url "$S3_ENDPOINT" --credentials-file "$S5CMD_CREDENTIALS_FILE" \
pipe --part-size "$PART_SIZE_MB" "$S3_DESTINATION" Verifying the command completed successfully |
I think with refactoring |
We can have a common |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ahmethakanbesel Can you update the changelog please?
I updated the changelog. |
@ahmethakanbesel There's a conflict on CHANGELOG. |
🎖️ |
So cool, thank you all! I've been waiting for this! |
Co-authored-by: İbrahim Güngör <[email protected]>
Resolves #182 and #522
Added
pipe
command to uploadstdin
output to a bucket.Example usage:
echo "content" | s5cmd pipe s3://bucket/file.txt