commands.sh

paccache

linux

A `pacman` cache cleaning utility.

More info →

Options (4)

-r, --removeboolean

Remove all but the 3 most recent package versions from the `pacman` cache

Example: paccache {{[-r|--remove]}}
boolean

Set the number of package versions to keep

Example: paccache {{[-rk|--remove --keep]}} {{num_versions}}
-d, --dryrunboolean

Perform a dry-run and show the number of candidate packages for deletion

Example: paccache {{[-d|--dryrun]}}
-m, --moveboolean

Move candidate packages to a directory instead of deleting them

Example: paccache {{[-m|--move]}} {{path/to/directory}}

Examples (4)

Remove all but the 3 most recent package versions from the `pacman` cache

paccache [-r|--remove]

Set the number of package versions to keep

paccache [-rk|--remove --keep] num_versions

Perform a dry-run and show the number of candidate packages for deletion

paccache [-d|--dryrun]

Move candidate packages to a directory instead of deleting them

paccache [-m|--move] path/to/directory
made by @shridhargupta | data from tldr-pages