pacdiff Command Examples
Maintenance utility for
.pacorig
,.pacnew
and.pacsave
files created bypacman
. More information: https://manned.org/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 usingpacman
database:
pacdiff --locate
- Display help:
pacdiff --help