6
I’m using a project where there are several temporary files that, for some reason, have not been deleted over time and that are taking up a lot of space.
I need to delete all images from this particular directory recursively when these files start 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 initiated 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