Page 1 of 1

Find empty folders

Posted: 28 Nov 2007 17:01
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?

Re: Find empty folders

Posted: 28 Nov 2007 18:01
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)

Re: Find empty folders

Posted: 28 Nov 2007 18:12
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.

Re: Find empty folders

Posted: 28 Nov 2007 18:49
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 ?)

Re: Find empty folders

Posted: 28 Nov 2007 19:17
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

Posted: 28 Nov 2007 19:44
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.

Posted: 28 Nov 2007 20:58
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.