# Is there a way to delete old/irrelevant uploads?

**URL:** https://meta.discourse.org/t/is-there-a-way-to-delete-old-irrelevant-uploads/49284
**Category:** Support
**Created:** [8월 26, 2016, 4:12오후 UTC](https://meta.discourse.org/t/is-there-a-way-to-delete-old-irrelevant-uploads/49284 "2016-08-26T16:12:52Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [1월 10, 2017, 2:00오전 UTC](https://meta.discourse.org/t/is-there-a-way-to-delete-old-irrelevant-uploads/49284/16 "2017-01-10T02:00:29Z")

</div>

> [@MerryMinstrel](#):
>
> Now I just need to figure out how to clean my local upload folder. I noticed that avatars are still kept locally, so I can`t just delete all of my local uploads.

How did you handle the migration? There is a rake task that will migrate your uploads to S3.

> <https://github.com/discourse/discourse/blob/main/lib/tasks/uploads.rake#L172>

> [@MerryMinstrel](#):
>
> Even uploads from deleted topics are still kept on disk.

Enabling the following site setting will clean up uploads from deleted topics.

![](https://global.discourse-cdn.com/meta/original/3X/e/d/ed6cf7402a48363f7ca0befc160a05472121b7b8.png)

> [@MerryMinstrel](#):
>
> I just saw inefficiency and wanted to share my view of it. Discourse is really powerful community building tool and data usage is nothing compered to the benefits of this platform.

Thank you for the feedback 🙂 By inefficiency, do you mean old topics with huge uploads that no one ever reads anymore?

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-delete-old-irrelevant-uploads/49284)._
