# Copy whole folder

**URL:** <https://discourse.nodered.org/t/copy-whole-folder/48922>\
**Category:** General\
**Created:** [26 July 2021 13:44 UTC](https://discourse.nodered.org/t/copy-whole-folder/48922 "2021-07-26T13:44:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LucasJ98](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@LucasJ98](https://discourse.nodered.org/u/LucasJ98)\
**Post date:** [26 July 2021 13:44 UTC](https://discourse.nodered.org/t/copy-whole-folder/48922/1 "2021-07-26T13:44:58Z")

</div>

Hello, it is possible to copy whole folder from sourcePath to destinantionPath?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [26 July 2021 14:25 UTC](https://discourse.nodered.org/t/copy-whole-folder/48922/2 "2021-07-26T14:25:16Z")

</div>

Sure as long as they are on the device running NR and the user running NR has permission to access the 'from' and 'to' locations.

You could use an `exec` node and pass it the cli command to do that or one of the contributed 'file' nodes. Go to the 'flows' tab her on the forum and search for 'contrib-fs' and try them out.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 September 2021 14:25 UTC](https://discourse.nodered.org/t/copy-whole-folder/48922/3 "2021-09-24T14:25:40Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
