# Can I delete the original uploads?

**URL:** https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455
**Category:** Support
**Created:** [March 1, 2019, 7:05pm UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455 "2019-03-01T19:05:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![sedget](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sedget/32/49494_2.png) [@sedget](https://meta.discourse.org/u/sedget)
#### Post date: [March 1, 2019, 7:05pm UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455/1 "2019-03-01T19:05:54Z")

</div>

hello,

I need space and i want to know if i can delete original in upload dir?

I’m not asking for orphan files I’m asking if original guet an optimized version and so that’s allow me to delete them?

```
/var/discourse/shared/standalone/uploads/default# du -h --max-depth=1
3.9G ./original
5.9G ./optimized

```

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [March 1, 2019, 10:55pm UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455/2 "2019-03-01T22:55:29Z")

</div>

I think you can delete the optimized, not the original. Because the optimized versions are dynamically created from the originals. Is that correct @sam?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 1, 2019, 11:07pm UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455/3 "2019-03-01T23:07:24Z")

</div>

You can delete optimized but images will look broken on all posts till you run a full rebake, you may also have to fiddle with the table

Not recommended

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [March 5, 2019, 11:05am UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455/4 "2019-03-05T11:05:41Z")

</div>

FYI, what we call optimized images are more “optimized thumbnails” than optimized versions of the original images.

Like @sam said, you’ll always need the originals to generate the thumbnails.

---

<div class="post-metadata">

### Author: ![sedget](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sedget/32/49494_2.png) [@sedget](https://meta.discourse.org/u/sedget)
#### Post date: [March 5, 2019, 1:20pm UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455/5 "2019-03-05T13:20:48Z")

</div>

Hello, i understood. Now i have to wait for change in originals management like an option to merge originals and optimized to have my directories less fat :wink:

9.8G0 of space for only 3.9 Go originals .

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [March 5, 2019, 2:47pm UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455/6 "2019-03-05T14:47:10Z")

</div>

> [@sedget](#):
>
> 9.8GO of space for only 3.9 GO originals .

This is a trade-off we have chosen - higher storage space on the server means we can pick the best image to send to the client, saving bandwidth and memory.

Resizing on the fly takes far too much CPU to be viable, whereas disk space is relatively cheap.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 13, 2022, 1:23pm UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455/7 "2022-04-13T13:23:38Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [April 13, 2022, 1:25pm UTC](https://meta.discourse.org/t/can-i-delete-the-original-uploads/110455/8 "2022-04-13T13:25:30Z")

</div>


