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

293
Views
Equivalent of "du" command on a Amazon S3 bucket

I'm looking for a solution to recursively get the size of all my folders on a Amazon S3 bucket which has a lot of embedded folders.

The perfect example is the Linux du --si command:

12M ./folder1
50M ./folder2
50M ./folder2/subfolder1
etc...

I'm also open to any graphical tool. Is there any command or AWS API for that?

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Use awscli

aws s3 ls s3://bucket --recursive --human-readable --summarize
about 4 years ago · Santiago Trujillo Report

0

s3cmd du -H s3://bucket-name

This command tells you the size of the bucket (human readable). If you want to know the sizes of subfolders you can list the folders in the bucket (s3cmd ls s3://bucket-name) and then iterate through them.

about 4 years ago · Santiago Trujillo Report
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!