Adding foldersize and filecount to folder names

Hello,

how to add folder size and number of files to folder names? Size does not work with folders and the count columns for folders/files does not exist.

Probably requires a rename script. The FSUtil.ReadDir method can help loop through everything under a directory to total up the sizes/counts.

1 Like

Here's a script that already does 50% of what you want:

You can get the size via fso.GetFolder(getNewNameData.item).size.

2 Likes