Skip to content
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

s3cmd fails with --encrypt option when piping #1392

Open
Cosmicoppai opened this issue Aug 7, 2024 · 0 comments
Open

s3cmd fails with --encrypt option when piping #1392

Cosmicoppai opened this issue Aug 7, 2024 · 0 comments

Comments

@Cosmicoppai
Copy link

root@14778e0764d3:/usr/local/bin# dd if=/dev/urandom bs=1M count=10 | s3cmd --encrypt put - s3://pl-backups/test_file
upload: '/tmp/tmpfile-AxsIy1LTkehTIoLex3yR' -> 's3://pl-backups/test_file'  [1 of 1]
 70 of 70   100% in    0s     2.63 KB/s  done

root@14778e0764d3:/usr/local/bin# dd if=/dev/urandom bs=1M count=10 | s3cmd put - s3://pl-backups/test_file_no_encrypt
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.193257 s, 54.3 MB/s
upload: '<stdin>' -> 's3://pl-backups/test_file_no_encrypt'  [part 1 of -, 10MB] [1 of 1]
 10485760 of 10485760   100% in    0s    64.09 MB/s  done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant