title: AWS CLI for searching a file in s3 bucket
body: <p>I want to search for a file name abc.zip in s3 buckets and there are nearly 60 buckets and each buckets have 2 to 3 levels subdirectories or folders .I tried to perform search using AWS CLI commands and below are the commands which i tried but even though the file is existing in the bucket.The results are not being displayed for the file.</p>
  
  <pre><code>aws s3api list-objects --bucket bucketname --region ca-central-1 \
      --recursive --query "Contents[?contains(Key, 'abc.zip')]"
  
  aws s3 ls --summarize --human-readable --recursive bucketname \
      --region ca-central-1 | egrep 'abc.zip'
  </code></pre>
  
  <p>For all the above commands execution i dont see the filename in command line and when i manually check the bucket the file exists.
  Is there any way i can find the file.</p>