Command line
dfdu scan ~ # print a summarydfdu scan ~ --by-type # usage by file typedfdu disks # disks and free space, like df -hdfdu dupes ~ --min-size 10MiB # duplicate filesdfdu report ~/dev # what the cleanup rules founddfdu report ~/dev --format json --fail-above 20GiB # CI: exit 4 over the limitdfdu clean ~/dev # dry run of the recommended deletesdfdu clean ~/dev --yes # move them to the Trashdfdu diff ~ --since 7d # what grew in the last weekdfdu export ~ --snapshot -o home.snap # save a scandfdu -f home.snap # browse a saved scan or an ncdu exportclean changes nothing without --yes. JSON output is versioned; the schemas are in schema/. dfdu --help lists every option and exit code.


dfdu report lists what the cleanup rules found. With --fail-above, it exits with 4 when the recommended deletes add up to more than the limit, which makes it a CI check.
Over time
Section titled “Over time”
Every scan is recorded, which is what dfdu diff compares against.