ostree-prune(1) Search for unreachable objects


ostree prune [OPTIONS...]


This searches for unreachable objects in the current repository. If unreachable objects are found, the command delete them to free space. If the --no-prune option is invoked, the command will just print unreachable objects and recommend deleting them.



Only display unreachable objects; don't delete.


Only compute reachability via refs.


Specify a COMMIT to delete.


All commits older than DATE will be pruned.


Only traverse DEPTH (integer) parents for each commit (default: -1=infinite).


Change the behaviour of --keep-younger-than and --delete-commit to prune only the static deltas files.


$ ostree prune

        Total objects: 25627
        No unreachable objects