Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
Bash equivalent for aws s3 boto's set contents_from_string is required

I am writing bash script to upload key into a bucket. I want to create a key dynamically and upload its contents, which is obtained from processing the list. In boto ,I can do this using :

k = Key(bucket)
k.key = 'foobar'
k.set_contents_from_string('This is a test of S3')

How can I achieve the same in aws s3 using bash script? The aws s3 api method put object has --body parameter which accepts only blob values and does not allow me to upload string.

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!