• Skip to main content

Uly.me

cloud engineer

  • Home
  • Archives
  • Search

AWS S3 LS Recursive

April 5, 2020 by Ulysses

Here’s how to list S3 files recursively.

aws s3 ls s3://mybucket --recursive | awk '{print $4}'

aws s3 ls s3://mybucket --recursive | awk '{print $4}'

By default, the results display date, time, disk size and filename. Use awk to display the filename only.

Filed Under: Cloud Tagged With: awk, aws, ls, recursively, s3

Search The Website

Subscribe Via Email

  • Home
  • About
  • Contact

Copyright © 2022