Google Drive API provide info about real file size, and quota used in cloud, so files in my drive, that have other owner, spend zero size from my own quota.
I searching tool for calculate per-folder quota usage in my Google Drive files. We already have
rclone size command, that calculates size of files in cloud folder.
For each file Google Drive API for file returns two numbers:
fileSizethat display real file size.
quotaBytesUsedthat display user quota usage.
So for implement calculating per-folder quota usage, we can simply replace
fileSize value to
quotaBytesUsed in Google API receiving function.
Is this possible to implement this feature without changing lot of source code in rclone? Will be good to add argument like
size command, that will enable this mode.