pacdiff: add page (#8474)

pull/1/head
Isaac 2022-10-02 07:21:30 -07:00 committed by GitHub
parent 5a245e0fdc
commit 5342c1c9a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
pages/linux/pacdiff.md Normal file
View File

@ -0,0 +1,28 @@
# 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`