<p>You can run <code>./craft clear-caches/transform-indexes</code> to clear your transform indexes.</p>

CC BY-SA 4.0
2020-05-01T09:20:32.917Z
2020-05-01T09:20:32.917Z
Oli
<p>If I import a Craft DB into my local db, and it has references to image transforms that existed in another environment, it won't recreate them in the filesystem when a page is loaded that asks for one of those transforms. Is there a way to tell Craft to recreate these transforms, or is the only option to retrieve the transforms from the other environment and bring them over?</p>

<p>I tried running <code>./craft index-assets/all</code> in the terminal but that didn't work. Not really sure what that command is meant for.</p>

<image-transforms>
How to reprocess image transforms that already exist in the database
# How to reprocess image transforms that already exist in the database

(Asked by: username_0 on 2020-05-01)

If I import a Craft DB into my local db, and it has references to image transforms that existed in another environment, it won't recreate them in the filesystem when a page is loaded that asks for one of those transforms. Is there a way to tell Craft to recreate these transforms, or is the only option to retrieve the transforms from the other environment and bring them over?

I tried running `./craft index-assets/all` in the terminal but that didn't work. Not really sure what that command is meant for.

**Tags:** image-transforms


---

## 1 answers

### Answer by username_1 on 2020-05-01. Score: 5 | Accepted answer

You can run `./craft clear-caches/transform-indexes` to clear your transform indexes.


---

