Move the DerivedDataCache folder?

This folder has literally filled my C: drive, and on multiple occasions.

I know how to delete the Cache, but the cache is derived completely from my current project.
I need Unreal Engine to move this Goliath of a folder to the E: drive but I don’t know how.
I get that it involves some sort of coding, or going into base engine files, but I don’t know anything about that.
Please guide me through the process step by step? It’d be a lot of help!