# Why cannot rename directory after unarchiving file in unarchive module

**URL:** <https://forum.ansible.com/t/why-cannot-rename-directory-after-unarchiving-file-in-unarchive-module/24695>\
**Category:** Ansible Project\
**Created:** [June 10, 2017, 8:12am UTC](https://forum.ansible.com/t/why-cannot-rename-directory-after-unarchiving-file-in-unarchive-module/24695 "2017-06-10T08:12:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Desong\_Qiu](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Desong\_Qiu](https://forum.ansible.com/u/Desong_Qiu)\
**Post date:** [June 10, 2017, 8:12am UTC](https://forum.ansible.com/t/why-cannot-rename-directory-after-unarchiving-file-in-unarchive-module/24695/1 "2017-06-10T08:12:05Z")

</div>

I want to rename directory after unarchiving file in unarchive module, but there seems no option to do.

---

<div class="post-metadata">

**Author:** ![user71](https://avatars.discourse-cdn.com/v4/letter/u/eb8c5e/32.png) [@user71](https://forum.ansible.com/u/user71)\
**Post date:** [May 12, 2022, 2:36pm UTC](https://forum.ansible.com/t/why-cannot-rename-directory-after-unarchiving-file-in-unarchive-module/24695/2 "2022-05-12T14:36:15Z")

</div>

this function very need
