# Find and fetch-- not doing any thing

**URL:** <https://forum.ansible.com/t/find-and-fetch-not-doing-any-thing/28224>\
**Category:** Ansible Developer\
**Created:** [August 1, 2018, 12:59pm UTC](https://forum.ansible.com/t/find-and-fetch-not-doing-any-thing/28224 "2018-08-01T12:59:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onenessboy](https://avatars.discourse-cdn.com/v4/letter/o/90ced4/32.png) [@onenessboy](https://forum.ansible.com/u/onenessboy)\
**Post date:** [August 1, 2018, 12:59pm UTC](https://forum.ansible.com/t/find-and-fetch-not-doing-any-thing/28224/1 "2018-08-01T12:59:02Z")

</div>

Hi

I am using below code to find and fetch files from remote server to local, how ever its not erroring, but not fetch anything

- find:  
paths=“/home/cloud-user”  
patterns=“\*.tar”  
register: file\_to\_copy

- fetch:  
src={{ item.path }}  
dest=/home/cloud-user/abscp  
with\_items: “{{file\_to\_copy.files}}”

I have some files named abc.tar.gz, dba.tar.gz – what I am trying to find patter and copy all to local machine…

Can someone suggest what mistake i am doing here.
