title: Is there a way to check if folder exists in s3 using aws cli?
body: <p>Let's say I have a bucket named Test which has folder Alpha/TestingOne,Alpha/TestingTwo . I want to check if a folder named Alpha/TestingThree is present in my bucket using aws cli . I did try aws </p>
  
  <p><code>s3api head-object --bucket Test --key Alpha/TestingThree</code></p>
  
  <p>But seems the head-object is for files and not for folders . So is there a way to check if a folder exists in aws s3 using aws cli api .</p>