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

EXAMPLE

45       $ ostree prune
46
47                   Total objects: 25627
48                   No unreachable objects
49
50
51
52OSTree                                                         OSTREE PRUNE(1)
Impressum