# How to clear the filesystem of a Gen3 device?

**URL:** <https://community.particle.io/t/how-to-clear-the-filesystem-of-a-gen3-device/64058>\
**Category:** Firmware\
**Tags:** argon\
**Created:** [February 23, 2023, 9:58pm UTC](https://community.particle.io/t/how-to-clear-the-filesystem-of-a-gen3-device/64058 "2023-02-23T21:58:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [February 23, 2023, 9:58pm UTC](https://community.particle.io/t/how-to-clear-the-filesystem-of-a-gen3-device/64058/1 "2023-02-23T21:58:58Z")

</div>

Hi,

I made a mistake and I have few invalid files on an Argon:

```auto
0000015182 [app] INFO: .
0000015182 [app] INFO: ..
0000015183 [app] INFO: sys
0000015185 [app] INFO: .
0000015186 [app] INFO: ..
0000015189 [app] INFO: dct.bin 8391 bytes
0000015192 [app] INFO: openthread.dat 16 bytes
0000015195 [app] INFO: wifi_config.bin 169 bytes
0000015198 [app] INFO: cache.dat 40 bytes
0000015201 [app] INFO: eeprom.bin 4096 bytes
0000015204 [app] INFO: fw_transfer 3676 bytes
0000015204 [app] INFO: usr
0000015206 [app] INFO: .
0000015207 [app] INFO: ..
0000015219 [app] INFO: u���� 0 bytes
0000015221 [app] INFO: u���� 0 bytes
0000015223 [app] INFO: e���� 0 bytes

```

The Argon boots fine, but I wonder if I can restore the file system to its original state.  
I’ve tried the Device Restore, but it did not do it.  
Is there any procedure or I should attempt a delete with the Filesystem commands?  
Thanks

PS: this happened after I read all the warnings issued [here](https://community.particle.io/t/how-to-clear-littlefs/59619/3).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/3/2/3291e3c9351789fe8620ae5bcec8d3fec67ff221.png) [@system](https://community.particle.io/u/system)\
**Post date:** [August 25, 2023, 9:59am UTC](https://community.particle.io/t/how-to-clear-the-filesystem-of-a-gen3-device/64058/2 "2023-08-25T09:59:42Z")

</div>

Closed on August 25, 2023, 9:59am UTC

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