table of contents
other versions
- stretch 2016.15-5
- testing 2019.1-1
- stretch-backports 2019.1-1~bpo9+1
- unstable 2019.1-1
- experimental 2019.2-1
OSTREE PRUNE(1) | ostree prune | OSTREE PRUNE(1) |
NAME¶
ostree-prune - Search for unreachable objectsSYNOPSIS¶
ostree prune [OPTIONS...]
DESCRIPTION¶
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.OPTIONS¶
--no-pruneOnly display unreachable objects; don't delete.
--refs-only
Only compute reachability via refs.
--delete-commit=COMMIT
Specify a COMMIT to delete.
--keep-younger-than=DATE
All commits older than DATE will be pruned. The format of
DATE is the same as that accepted by GNU date utility - for more information
see info date.
--depth=DEPTH
Only traverse DEPTH (integer) parents for each commit
(default: -1=infinite).
--static-deltas-only=DEPTH
Change the behaviour of --keep-younger-than and
--delete-commit to prune only the static deltas files.
EXAMPLE¶
$ ostree pruneTotal objects: 25627 No unreachable objects
OSTree |