mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 13:58:37 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Remove all but the 3 most recent package versions from the `pacman` cache:
|
||||
|
||||
`paccache -r`
|
||||
`paccache {{[-r|--remove]}}`
|
||||
|
||||
- Set the number of package versions to keep:
|
||||
|
||||
`paccache -rk {{num_versions}}`
|
||||
`paccache {{[-rk|--remove --keep]}} {{num_versions}}`
|
||||
|
||||
- Perform a dry-run and show the number of candidate packages for deletion:
|
||||
|
||||
`paccache -d`
|
||||
`paccache {{[-d|--dryrun]}}`
|
||||
|
||||
- Move candidate packages to a directory instead of deleting them:
|
||||
|
||||
`paccache -m {{path/to/directory}}`
|
||||
`paccache {{[-m|--move]}} {{path/to/directory}}`
|
||||
|
||||
Reference in New Issue
Block a user