add size of folder & descendant file count to folder name.

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Confucius Of Essex
Posts: 6
Joined: Tue Dec 07, 2021 5:01 pm

add size of folder & descendant file count to folder name.

Post by Confucius Of Essex »

Hi,
How do I add the folder size & the number of files in the folder & subfolders to multiple folders?
ie
folder1
folder2
folder3
to
folder1 (Size 9,135,795) [20 files]
folder2 (size 11,135,546) [23 files]
folder3 (size 555,987) [9 files]

the folders may contain more folders with more files in them, so I would like the total of all the files and total of all files sizes (in bytes), no need for a folder count though.

thank you
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: add size of folder & descendant file count to folder name.

Post by void »

Can't be done at the moment.

I will look into adding support for this.



You can include the size with the following:

You'll need Everything 1.5

Select the desired folders and press F2.

Change the New Format to:

%1 (size: <formatnumber:$total-size:>)

Review the new filenames and click OK.
Confucius Of Essex
Posts: 6
Joined: Tue Dec 07, 2021 5:01 pm

Re: add size of folder & descendant file count to folder name.

Post by Confucius Of Essex »

Thank you David.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: add size of folder & descendant file count to folder name.

Post by void »

Everything 1.5.0.1374a adds support for substituting indexed properties in the Advanced renamer.

For example:

$size:
(works with folders)

$child-count:
$child-file-count:
$child-folder-count:
$descendant-count:
$descendant-file-count:
$descendant-folder-count:
Confucius Of Essex
Posts: 6
Joined: Tue Dec 07, 2021 5:01 pm

Re: add size of folder & descendant file count to folder name.

Post by Confucius Of Essex »

oooh! Nice.
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: add size of folder & descendant file count to folder name.

Post by anmac1789 »

What does this actually do ?
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: add size of folder & descendant file count to folder name.

Post by void »

Everything 1.5.0.1374a adds support for substituting indexed properties
To help clarify, this update adds support for inserting indexed property values into filenames in the advanced file renamer.

Previously, the advanced renamer did not use indexed values and always went to disk to gather them.
Some database-only properties did not return any values.

This update allows you to access information from your index, such as folder sizes, child counts, descendant counts and run history.



The advanced renamer can be accessed by selecting two or more files and pressing F2 or Selecting a file and clicking on Edit -> Advanced -> Advanced Rename.

To insert an indexed property value:
  • Click the > button to the right of the new format text box and click Add Property...
  • Select any property and click OK. (indexed values are shown in the Index tab on the left)
Post Reply