4

I have, in a Windows 10 machine, about 600 projects folder, and each of these folders have two folders: current and old_releases. All projects together have about 1TB.

To free space on the server, I want to delete all old_releases folder. So I thought I could quickly find them with the Windows Explorer search tool, since all folders are on the first level, and just hit shift+delete key. However, unfortunately, the searcher does not starts to look automatically through the first level, and takes a really long time to find all folders I want to remove.

I wonder if there is a way to limit the Windows explorer search for one level deep (I already limited to look just for folders ). Is it possible?

If not, I would accept any suggestion to achieve my goal (delete those folders) easily...

1 Answers1

6

Try this...

old_releases  kind:=folder -folderpath:x\*\ 

Note: Replace 'x' with your main folder name.

Example...

old_releases  kind:=folder -folderpath:AllProjects\*\ 

Screenshot

DxTx
  • 1,276