Skip to content

Add --dry-run to tart prune #1295

Description

@TyceHerrman

Problem

tart prune deletes matching caches or VMs immediately. There’s no way to preview what will be removed.

Proposal

Add --dry-run:

tart prune --entries caches --older-than 7 --dry-run

It should use the same selection logic, make no changes, and show matching entries plus total estimated space reclaimed.

Motivation

Pruning has previously selected more data than intended (#271, #549). A preview would help users verify destructive cleanup before running it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions