1OSTREE PRUNE(1)                  ostree prune                  OSTREE PRUNE(1)
2
3
4

NAME

6       ostree-prune - Search for unreachable objects
7

SYNOPSIS

9       ostree prune [OPTIONS...]
10

DESCRIPTION

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

OPTIONS

18       --no-prune
19           Only display unreachable objects; don't delete.
20
21       --refs-only
22           Only compute reachability via refs.
23
24       --delete-commit=COMMIT
25           Specify a COMMIT to delete.
26
27       --keep-younger-than=DATE
28           All commits older than DATE will be pruned. The format of DATE is
29           the same as that accepted by GNU date utility - for more
30           information see info date.
31
32       --depth=DEPTH
33           Only traverse DEPTH (integer) parents for each commit (default:
34           -1=infinite).
35
36       --static-deltas-only=DEPTH
37           This option may currently only be used in combination with
38           --delete-commit. Previous versions of ostree silently accepted the
39           option without that, and ignored it. However, there are desired use
40           cases for pruning just static deltas (while retaining the commits),
41           and it's likely at some point this option will be supported for use
42           cases outside of just --delete-commit.
43
44       --commit-only
45           Only traverse and delete commit objects. This leaves orphaned meta
46           and content objects, which can be cleaned up with another prune
47           invocation. One may want to use this option to cheaply delete
48           multiple commits, and then clean up with a more expensive prune at
49           the end.
50

EXAMPLE

52       $ ostree prune
53
54                   Total objects: 25627
55                   No unreachable objects
56
57
58
59OSTree                                                         OSTREE PRUNE(1)
Impressum