How do I find empty folders?

0 votes

I would like to find all folders which are empty, ie do not have any files or subfolders in them, is that possible?

asked Nov 12, 2015 by dave (53,670 points)

1 Answer

0 votes

Yes, using a script you can do that.

Step 1. Limit the search to only folders

Set the file name expression type to be Folders Only.

Folders Only option

Step 2. Pick the empty_folders.js script

Go to the Scripting Tab and activate the File name script. Pick the empty_folders.js script which is installed into the Sample Scripts folder, usually here:

C:\Program Files\Mythicsoft\FileLocator Pro\Sample Scripts\empty_folders.js

Click the Test button to make sure it works.

enter image description here

Step 3. Run the search

Now when you run the search you should find that only empty folders are found.

answered Nov 12, 2015 by dave (53,670 points)
...