# Download multiple files from S3

**URL:** <https://forum.ansible.com/t/download-multiple-files-from-s3/26676>\
**Category:** Ansible Project\
**Created:** [February 7, 2018, 6:21am UTC](https://forum.ansible.com/t/download-multiple-files-from-s3/26676 "2018-02-07T06:21:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![groupfiles14](https://avatars.discourse-cdn.com/v4/letter/g/54ee81/32.png) [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Post date:** [February 7, 2018, 6:21am UTC](https://forum.ansible.com/t/download-multiple-files-from-s3/26676/1 "2018-02-07T06:21:51Z")

</div>

How can i download multiple files from same bucket, can we use wildcard for this? i am confused a bit

- name: Download from S3  
s3:  
profile: iupdate

region: ap-southeast-1  
bucket: reareses  
object: sdaces/{{item}}  
with\_fileglob: “\*.zip”  
dest: “/home/ec2-user/sd/froms3”  
mode: get

---

<div class="post-metadata">

**Author:** ![Andrew\_Latham](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Andrew\_Latham](https://forum.ansible.com/u/Andrew_Latham)\
**Post date:** [February 7, 2018, 2:34pm UTC](https://forum.ansible.com/t/download-multiple-files-from-s3/26676/2 "2018-02-07T14:34:11Z")

</div>

Something like [https://stackoverflow.com/a/35640797](https://stackoverflow.com/a/35640797) would work. You can search and re-register the list if you only want .zip
