1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 01:22:10 +02:00
tldr/pages/linux/pacdiff.md
2022-10-02 11:21:30 -03:00

28 lines
675 B
Markdown

# pacdiff
> Maintenance utility for `.pacorig`, `.pacnew` and `.pacsave` files created by `pacman`.
> More information: <https://man.archlinux.org/man/pacdiff>.
- Review files that need maintenance in interactive mode:
`pacdiff`
- Use sudo and sudoedit to remove and merge files:
`pacdiff --sudo`
- Review files needing maintenance, creating `.bak`ups of the original if you `(O)verwrite`:
`pacdiff --sudo --backup`
- 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:
`pacdiff --locate`
- Display help:
`pacdiff --help`