# How to move multiple files with \`fs-ops\` nodes?

**URL:** <https://discourse.nodered.org/t/how-to-move-multiple-files-with-fs-ops-nodes/23394>\
**Category:** General\
**Created:** [21 March 2020 08:36 UTC](https://discourse.nodered.org/t/how-to-move-multiple-files-with-fs-ops-nodes/23394 "2020-03-21T08:36:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 March 2020 11:35 UTC](https://discourse.nodered.org/t/how-to-move-multiple-files-with-fs-ops-nodes/23394/2 "2020-03-21T11:35:50Z")

</div>

Hi.

Few questions...

- What is `msg.source` set to
- what is `msg.destination` set to
- is the file _really_ called `Reboot*`?

my guess is you are trying to wild card this file name?

I'm not certain fs-ops move node supports wildcard file names - but the `directory` node does.

You'll likely have to use the `directory` node to get a list of files in `msg.source` then run through the array - then create a new `msg` with the file name set into a msg property then send that to the `move` node

---

_[View the full topic](https://discourse.nodered.org/t/how-to-move-multiple-files-with-fs-ops-nodes/23394)._
