I'm using a project where there are several temporary files that for some reason have not been deleted over time and are taking up a lot of space.
I need to delete all images from that directory, recursively, when those files begin with the letters "LX".
How can I do this using PowerShell or CMD?
For example, in the structure below, each of the subfolders has these files started by "LX".
DIRETORIO
FOTOS_1
1.jpg
2.jpg
LXa45axdgg.jpg
FOTOS_2
1.jpg
2.jpg
LXa4bbbbxdgg.jpg
FOTOS_3
1.jpg
2.jpg
LXa4555g.jpg