# איך אני מוחק את קובץ אווטאר המשתמש?

**URL:** <https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321>\
**Category:** Product Support\
**Created:** [3 באפריל,‏ 2021,‏ 4:00am UTC](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321 "2021-04-03T04:00:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [5 באפריל,‏ 2021,‏ 3:04pm UTC](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321/2 "2021-04-05T15:04:28Z")

</div>

I think it still works like this.

From the URL of the file you want to delete, get the filename.

```plaintext
cd /var/discourse/shared/uploads
find . -name =FILENAME= | xargs exec rm

```

And then you’d do whatever to purge it from your CDN.

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321)._
