Skip to content

du: recursive size summary #41

Description

@lionello

No way to find out what's eating the quota. df reports drive totals, stat dumps one item's JSON.

Folder items already carry a recursive size in every children listing, so a du is pure client-side aggregation over data that's already being fetched — no new endpoint:

onedrive du [-h] [-d DEPTH] [path ...]

-d 1 over the root is the common case ("which top-level folder is huge?") and needs exactly one request.

humanize()/prettyPrint() already exist for the -h output.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions