Scroll to navigation

REPOMANAGE(1) dnf-plugins-core REPOMANAGE(1)

NAME

repomanage - redirecting to DNF repomanage Plugin

Manage a directory of rpm packages.

SYNOPSIS

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

DESCRIPTION

repomanage prints newest or oldest packages in specified directory for easy piping to xargs or similar programs.

Options

Set what packages is displayed.

The following are mutually exclusive, i.e. only one can be specified. If no options specified - --new activated.

Show older packages.
Show newest packages.

Optional Options

Control how packages are displayed in the output.

Print resulting set separated by space instead of newline.
Limit the resulting set to newest <keep-number> packages.

EXAMPLES

Display newest packages in current directory:

dnf repomanage --new .


Display 2 newest packages in requires "home" directory:

dnf repomanage --new --keep 2 ~/


Display older package separated by space in current directory:

dnf repomanage --old --space .


AUTHOR

See AUTHORS in your Core DNF Plugins distribution

COPYRIGHT

2014, Red Hat, Licensed under GPLv2+

April 15, 2021 4.0.2.2