title: Copy list of files from S3 bucket to S3 bucket
body: <p>Is there a way I could copy a list of files from one S3 bucket to another? Both S3 buckets are in the same AWS account. I am able to copy a single file at a time using the aws cli command:</p>
  
  <pre><code>     aws s3 cp s3://source-bucket/file.txt s3://target-bucket/file.txt
  </code></pre>
  
  <p>However I have 1000+ files to copy. I do not want to copy all files in the source bucket so I am not able to utilize the sync command. Is there a way to call a file with the list of file names that needs to be copied to automate this process?</p>