Find empty folders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
graham
Posts: 457
Joined: 24 Aug 2007 22:08
Location: Isle of Man

Find empty folders

Post by graham »

I see in the XYplorerFree comparison of features that the paid version has find empty folders. Where and how do you do this and is it not available in the free version?

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Find empty folders

Post by jacky »

graham wrote:I see in the XYplorerFree comparison of features that the paid version has find empty folders. Where and how do you do this and is it not available in the free version?
I'm not really sure :oops: but I think it may be linked to the Calculate Folder Size feature that does indicate whether a folder is really empty (-) or contains empty files or subfolders (0)

So to list all empty folders on one location, you should start by searching for all folders (Attribute Directory), then have XY to Calculate Folder Size. All those with "-" in their size column will be totally empty folders (ie. no empty files or folders)
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Find empty folders

Post by admin »

jacky wrote:
graham wrote:I see in the XYplorerFree comparison of features that the paid version has find empty folders. Where and how do you do this and is it not available in the free version?
I'm not really sure :oops: but I think it may be linked to the Calculate Folder Size feature that does indicate whether a folder is really empty (-) or contains empty files or subfolders (0)

So to list all empty folders on one location, you should start by searching for all folders (Attribute Directory), then have XY to Calculate Folder Size. All those with "-" in their size column will be totally empty folders (ie. no empty files or folders)
Yes, that's it. Not one-click, but does the job. With scripting it will be one-click... :)

XYF cannot distinguish between empty folders and zero byte folders.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Find empty folders

Post by jacky »

admin wrote:Yes, that's it. Not one-click, but does the job. With scripting it will be one-click... :)
hmm... so scripting will allow to run searches using templates ? Sweet ! :D

And I also seem to remember you mentioning a way to "get input" (throw an dialog asking for the user to type in something), will we be able to use such input within the loaded template ? (eg. ask user and use his input as the text to search within files, other criteria (names, location, etc) being loaded from a template ?)
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Find empty folders

Post by admin »

jacky wrote:
admin wrote:Yes, that's it. Not one-click, but does the job. With scripting it will be one-click... :)
hmm... so scripting will allow to run searches using templates ? Sweet ! :D

And I also seem to remember you mentioning a way to "get input" (throw an dialog asking for the user to type in something), will we be able to use such input within the loaded template ? (eg. ask user and use his input as the text to search within files, other criteria (names, location, etc) being loaded from a template ?)
Yep. :D

graham
Posts: 457
Joined: 24 Aug 2007 22:08
Location: Isle of Man

Post by graham »

Thanks for the answers. I use a different program to do this but I think you are stretching it a bit to list this as a main feature upgrade facility.

It's like the calm before the storm waiting for the scripting version and seeing mini-change updates on the way.

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

graham wrote:Thanks for the answers. I use a different program to do this but I think you are stretching it a bit to list this as a main feature upgrade facility.
You are right. I take it out.
graham wrote:It's like the calm before the storm waiting for the scripting version and seeing mini-change updates on the way.
:) Yes yes... scripting will be WOW. I always like to take some breath before doing a major feature. While I first thought (and said) that scripting would be relatively easy to do, I now start to see the possibilities of it. It will still be very relaxed coding but it will take a little meditation to get the rules for scripting, the syntax, alright. And I attempt to get it right at the first try (I hate writing backward code)... :) So -- maybe -- I will make 7.0 the scripting edition, and then come up with Undo next... maybe, not sure yet.

Post Reply