title: S3 cli includes not working
body: <p>Alright I'm very confused by aws cli</p>
  
  <p>I have an S3 bucket:</p>
  
  <pre><code>s3://my-bucket
    directory/
      file1
      file2
    backup-logs-1234
    backup-logs-5678
  </code></pre>
  
  <p>I've verified that the files are in the s3 bucket, and I can see them with <code>aws s3 ls s3://my-bucket</code></p>
  
  <p>I'm trying to delete all the backup logs in the folder (8000 of them).  I've tried every combination of includes/excludes I can think of</p>
  
  <p>1) For some reason <code>aws s3 rm "s3://my-bucket/" --include "*backup-logs*" --dryrun</code> tries to delete <code>s3://my-bucket/directory/</code></p>
  
  <p>2) <code>aws s3 rm "s3://my-bucket/" --exclude "*" --include "*backup-logs*" --dryrun</code> doesn't see any files to delete</p>
  
  <p>3) I've also tried different substrings of "backup" (eg. b, ba, back)</p>
  
  <p>4) I've also tried adding recursive (even though I don't want it to be) and it finds all the files in <code>directory/</code> that match the pattern, but none of the top level ones</p>
  
  <p>I'm sure I'm doing something stupid.  Thanks in advance for the help</p>