2025-03-14 21:59:59 -06:00
|
|
|
# pacdiff
|
|
|
|
|
|
|
|
|
|
> Maintenance utility for `.pacorig`, `.pacnew` and `.pacsave` files created by `pacman`.
|
|
|
|
|
> More information: <https://manned.org/pacdiff>.
|
|
|
|
|
|
|
|
|
|
- Review files that need maintenance in interactive mode:
|
|
|
|
|
|
|
|
|
|
`pacdiff`
|
|
|
|
|
|
|
|
|
|
- Use sudo and sudoedit to remove and merge files:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pacdiff {{[-s|--sudo]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Review files needing maintenance, creating `.bak`ups of the original if you `(O)verwrite`:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pacdiff {{[-s|--sudo]}} {{[-b|--backup]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Use a specific editor to view and merge configuration files (default is `vim -d`):
|
|
|
|
|
|
|
|
|
|
`DIFFPROG={{editor}} pacdiff`
|
|
|
|
|
|
|
|
|
|
- Scan for configuration files with `locate` instead of using `pacman` database:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pacdiff {{[-l|--locate]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pacdiff {{[-h|--help]}}`
|