5

I'm on the S3 Management Console and I see the instructions to type a prefix to search:

enter image description here

However, when I search, it only finds files in the current folder. Is there a way to search for files that might be in a nested folder?

If this can't be done from the web console. Is it possible to do it using a command line utility?

2 Answers 2

5

There isn't a find equivalent that I know of. I do this:

aws s3 ls s3://bucket/ --recursive | grep filename
3

From command line you can use command like:

aws s3 ls s3://bucket/ --recursive "filename"
1
  • 1
    Thanks, but it doesn't allow the "filename". I guess I can grep the output of this call, but I was wondering if there was a find equivalent
    – nachocab
    Feb 28, 2020 at 18:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .