# I can create an artifact and deploy a .zip file, but how do I automaticallly unzip it?

**URL:** <https://hub.mender.io/t/i-can-create-an-artifact-and-deploy-a-zip-file-but-how-do-i-automaticallly-unzip-it/6062>\
**Category:** General Discussions\
**Tags:** raspberry-pi-3, mender-artifact\
**Created:** [August 2, 2023, 12:51am UTC](https://hub.mender.io/t/i-can-create-an-artifact-and-deploy-a-zip-file-but-how-do-i-automaticallly-unzip-it/6062 "2023-08-02T00:51:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [August 2, 2023, 6:37am UTC](https://hub.mender.io/t/i-can-create-an-artifact-and-deploy-a-zip-file-but-how-do-i-automaticallly-unzip-it/6062/2 "2023-08-02T06:37:23Z")

</div>

Hi @EnjoysMath,

The easiest™ Mender way to get a directory deployed it to use the directory Update Module. A tutorial is provided in [this Hub article](https://hub.mender.io/t/directory/325).

Greetz,  
Josef

---

_[View the full topic](https://hub.mender.io/t/i-can-create-an-artifact-and-deploy-a-zip-file-but-how-do-i-automaticallly-unzip-it/6062)._
