How to calculate size of selected directories?

Let's say I have an rclone remote with the following structure:

\ 
|_ 1-20,000
|_ 20,001-40,000
|_ 40,001-60,000
|_ GIFs
|_ Videos

If I use rclone size, then it calculates the size of all the folders inside the directory. But what if I want only the size of certain folders? I know how to do it for a single folder, but how would I get the combined size of only the 1-20,000 and 20,001-40,000 directories?

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Which cloud storage system are you using? (eg Google Drive)

I'm using Windows 10 64-bit, and it's a GSuite encrypted remote.

You could do this with --include, something like

rclone size remote: --include "/1-20,000/**" --include "/20,001-40,000/**"

Ah, thanks! I was wondering how I would do that!

Depending on what you are using it for and/or if you need it to auto-sum the selected folders:

https://rclone.org/commands/rclone_ncdu/