title: How to copy files from s3 using cli in windows ec2
body: <p>I am able to copy all files from the bucket but I need only the files from one folder in a bucket.</p>
  
  <pre><code>Bucket name : bp-dev
  Folder inside the bucket is : 
  
  aws s3 ls s3://dev/bp_source_input/
                             PRE arch/
                             PRE emr_in/
                             PRE emr_out/
                             PRE in/
  2015-04-03 09:02:33          0
  2015-04-13 17:05:24   11084438 201503_nts_all.xlsx
  2015-04-15 09:41:20   11084438 201503_nts_all_20150415094117721.xlsx
  </code></pre>
  
  <p>I want to copy only file <strong>201503</strong>_nts_all_20150415094117721.xlsx to arch but here the files which are there in the <strong>in folder</strong> also getting copied.</p>
  
  <pre><code>aws s3 cp s3://dev/bp_source_input s3://dev/bp_source_input/arch --recursive --exclude "*" --include "*%mth_cd%_%source%_all_*.xlsx"
  </code></pre>
  
  <p>copy: s3://dev/bp_source_input/201503_nts_all_20150415094117721.xlsx to s3://dev/bp_source_input/arch/201503_nts_all_2015041509411772
  1.xlsx
  copy: s3://dev/bp_source_input/in/201503_nts_all_<strong>201505</strong>16094117721.xlsx to s3://dev/bp_source_input/arch/in/201503_nts_all_2015041509
  4117721.xlsx</p>
  
  <p>How can I copy files forom olee folder from a bucket.</p>