# Discourse verwijdert bijlage niet na uren

**URL:** https://meta.discourse.org/t/discourse-wont-delete-attachment-after-period-hours/282866
**Category:** Bug
**Created:** [20 oktober 2023 om 05:59 UTC](https://meta.discourse.org/t/discourse-wont-delete-attachment-after-period-hours/282866 "2023-10-20T05:59:23Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Tee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tee/32/245700_2.png) [@Tee](https://meta.discourse.org/u/Tee)
#### Post date: [20 oktober 2023 om 06:15 UTC](https://meta.discourse.org/t/discourse-wont-delete-attachment-after-period-hours/282866/3 "2023-10-20T06:15:06Z")

</div>

Perhaps I’m misunderstanding.

As far as I know, the only way to rename the file after uploading is to remove it and wait for Discourse to delete it, and then reupload it.

I followed this guide (`edit the posts to remove the attachment links`) to remove the file.

> [@Understanding Uploads, Images, and Attachments](https://meta.discourse.org/t/understanding-uploads-images-and-attachments/275735/1):
>
> or edit the posts to remove the attachment links. Orphaned files will be removed automatically after a 48 hour grace period.

---

_[View the full topic](https://meta.discourse.org/t/discourse-wont-delete-attachment-after-period-hours/282866)._
