List folder size without count subfolders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Theodecarvalho
Posts: 49
Joined: 17 Jul 2022 11:59

List folder size without count subfolders

Post by Theodecarvalho »

Hi People

I cant find a way to do a simple search:

I need to list or organize my folders and find the biggest ones in all my HD.

BUT... I need to find folder size pure. Without count subfolders size. count only files.

Is there a way to list this?

highend
Posts: 14613
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: List folder size without count subfolders

Post by highend »

Define a new scripted custom column:

Code: Select all

return formatbytes(foldersize(<cc_item>, "<r>", 0), "MB", 2);
Ofc the item type needs to be "Folders", not "Files"^^

Do a normal search
Tab Attributes
[x] Directory

Once the search is done add that column...
One of my scripts helped you out? Please donate via Paypal

Theodecarvalho
Posts: 49
Joined: 17 Jul 2022 11:59

Re: List folder size without count subfolders

Post by Theodecarvalho »

Thanks!

Tou are a genious.

Theodecarvalho
Posts: 49
Joined: 17 Jul 2022 11:59

Re: List folder size without count subfolders

Post by Theodecarvalho »

Just a simple question: When I search, it finds like... 20.000 folders. I work on heavier than come back.

When I back to the tab, it reescan everything. Is there a way to keep my search without reescan everything?

highend
Posts: 14613
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: List folder size without count subfolders

Post by highend »

General - Find and Filter - [x] Cache search results
and maximum number: 0

But this is probably not enough for 20k+ search results...
One of my scripts helped you out? Please donate via Paypal

Post Reply