Skip to content
Greg Neagle edited this page Dec 9, 2023 · 1 revision

Tool for cleaning old/unused items from a Munki repo

Introduction

repoclean can help you clean older, unused items from your Munki repo, reducing the storage space needed.

Details

Tool: repoclean

Usage: repoclean [options] [/path/to/repo_root]

Options:

  -h, --help            show this help message and exit
  -V, --version         Print the version of the munki tools and exit.
  -k KEEP, --keep=KEEP  Keep this many versions of a specific variation.
                        Defaults to 2.
  --show-all            Show all items even if none will be deleted.
  --delete-items-in-no-manifests
                        Also delete items that are not referenced in any
                        manifests. Not yet implemented.
  --repo_url=REPO_URL, --repo-url=REPO_URL
                        Optional repo URL. If specified, overrides any
                        repo_url specified via --configure.
  --plugin=PLUGIN       Optional plugin to connect to repo. If specified,
                        overrides any plugin specified via --configure.
  -a, --auto            Do not prompt for confirmation before deleting repo
                        items. Use with caution.

repoclean is intended to used interactively periodically by a Munki admin to clean out old items from the Munki repo. You must specify a path to the repo, or a URL using the --repo_url option.

Introduction

Future plans

Munki 6.1

Munki 6

Munki 5

Managed Software Center

Command-line Tools

Munki configuration

Manifests

Catalogs

Pkginfo

More Munki Features

Advanced Munki

Related tasks

App Management

More

Product-specific notes

Legacy Documentation

Clone this wiki locally