How to search for nested files in my S3 bucket?

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

From command line you can use command like:

aws s3 ls s3://bucket/ --recursive "filename"
1

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

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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like