Copy total size of selected items to clipboard

Purpose

Copy total size of selected items (in bytes or auto) to clipboard.

How to use

Select items (files, folders) you want to calculate the total size click the button.

A dialog will display allowing you to check some details and copy the desired value.

You can just press ENTER to copy total bytes and close the dialog.

Extra features

  • Dialogs in English and French (edit resources to add your language and post your translation here so I can add it for everyone.)
  • Some variables in the script
    • IsRecursive enable if all sub-folders size must be added (default is true)
    • verbose enable more debug info in the utility panel > other logs > script output

Download button

Warning : Only for DOpus v12.22 and higher.

6 Likes

The script is very useful.

Could you please add a few extra lines?

Such as,

  1. calculate the number of folders in the selected folders, one line for non-recursive calculation (only counting one level) , and one line for recursive calculation (counting all folders within the folders).
  2. calculate the number of files in the selected folders, one line for non-recursive calculation and one line for recursive calculation?

Thank you very much!!:sob:

I didn’t even remember I did this button. I don’t remember either why I needed it. I don’t have time right time to do it. I suggest you to dig into the code or ask an AI to help you.

1 Like