1DNF-REPOMANAGE(8)              dnf-plugins-core              DNF-REPOMANAGE(8)
2
3
4

NAME

6       dnf-repomanage - DNF repomanage Plugin
7
8       Manage a repository or a simple directory of rpm packages.
9

SYNOPSIS

11       dnf repomanage [<optional-options>] [<options>] <path>
12

DESCRIPTION

14       repomanage  prints  newest or oldest packages in a repository specified
15       by <path> for easy piping to xargs or similar programs. In case  <path>
16       doesn't  contain  a  valid  repository  it is searched for rpm packages
17       which are then used instead.
18
19       In order to work correctly with modular packages <path> has to  contain
20       repodata  with modular metadata. If modular content is present repomanā€
21       age prints packages from newest or oldest versions of  each  stream  in
22       addition to newest or oldest non-modular packages.
23
24   Options
25       All  general  DNF  options  are  accepted,  see  Options  in dnf(8) for
26       details.
27
28       The following options set what packages are  displayed.  These  options
29       are mutually exclusive, i.e. only one can be specified. If no option is
30       specified, the newest packages are shown.
31
32       --old  Show older packages.
33
34       --new  Show newest packages.
35
36       The following options control how packages are displayed in the output:
37
38       -s, --space
39              Print resulting set separated by space instead of newline.
40
41       -k <keep-number>, --keep <keep-number>
42              Limit the resulting set to newest <keep-number> packages.
43

EXAMPLES

45       Display newest packages in current repository (directory):
46
47          dnf repomanage --new .
48
49       Display 2 newest versions of each package in "home" directory:
50
51          dnf repomanage --new --keep 2 ~/
52
53       Display oldest  packages  separated  by  space  in  current  repository
54       (directory):
55
56          dnf repomanage --old --space .
57

AUTHOR

59       See AUTHORS in your Core DNF Plugins distribution
60
62       2020, Red Hat, Licensed under GPLv2+
63
64
65
66
674.0.18                           Oct 08, 2020                DNF-REPOMANAGE(8)
Impressum