Move the IDE 2.3.10 to another drive

Due to space limitations on drive c I am trying to move the IDE to my f: drive. I have changed the file arduino-cli.yaml at C:\Users\HPcompaq.arduinoIDE.The changes are:

directories:
builtin:
libraries: C:\Users\HPcompaq\AppData\Local\Arduino15\libraries
data: f:\Arduino15
downloads: f:Arduino15\staging
user: g:\ARDUINO_INO_260131A

This works fine, the original folder was C:\Users\HPcompaq\AppData\Local\Arduino15. the problem I have is there is another folder C:\Users\HPcompaq\AppData\Local\arduino using 9GB and updates everytime I compile a sketch. I can find no reference to this folder anywhere. Can anyone tell me what this folder is and can I redirect it to the f: drive.

Ta in advance :)

That's where all your cores and archived compiles reside. I had trouble with space, and deleted about 120GB of data from these (and more) folders. Somewhere in this forum is my topic and the help I received.

Found it: IDE 2.3.9 tree - for manual deleting files/folders

Ta for that. I used Ccleaner and gained around a GB. I had an earlier IDE installed, now un-installed. Just compiled another sketch and C:\Users\HPcompaq\AppData\Local\arduino\sketches still updates. Your earlier post raises some interesting questions. Anymore thoughts anyone?

The link was not about ccleaner. It was about the caching of unused cores and compiled sketches.

On looking deeper the C:\Users\HPcompaq\AppData\Local\arduino\sketches folder holds the compiled binaries. Looks like I need to re direct that?

We were typing at the same instance. The Ccleaner was a comment that may help others :)

arduino\sketchess the sketch build cache.

@beez803
You can change its location in arduino-cli.yaml, e.g.:

build_cache:
  path: F:\arduino-build-cache

That fixed it. Thanks to all for the comments. Appreciated :)