title: Python cloudpathlib download all files with suffix(csv) from AWS s3
body: <p>I am using cloudpathlib to download bulk files from AWS s3. My question is how can I download only csv files using this package?</p>
  <pre><code>from cloudpathlib import CloudPath
  
  root_dir = CloudPath('s3://dir1/dir2/*.csv')
  root_dir.download_to(to_path) 
  </code></pre>
  <p>In <code>s3://dir1/dir2/</code> , there are csv and pdf files. Note that I am not in a position to use boto3 and I generally wouldn’t prefer loops.</p>
  <p>Thanks.</p>