2022-10-02 07:21:30 -07:00
|
|
|
# pacdiff
|
|
|
|
|
|
|
|
> Maintenance utility for `.pacorig`, `.pacnew` and `.pacsave` files created by `pacman`.
|
2024-09-24 21:47:18 +02:00
|
|
|
> More information: <https://manned.org/pacdiff>.
|
2022-10-02 07:21:30 -07:00
|
|
|
|
|
|
|
- Review files that need maintenance in interactive mode:
|
|
|
|
|
|
|
|
`pacdiff`
|
|
|
|
|
|
|
|
- Use sudo and sudoedit to remove and merge files:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pacdiff {{[-s|--sudo]}}`
|
2022-10-02 07:21:30 -07:00
|
|
|
|
|
|
|
- Review files needing maintenance, creating `.bak`ups of the original if you `(O)verwrite`:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pacdiff {{[-s|--sudo]}} {{[-b|--backup]}}`
|
2022-10-02 07:21:30 -07:00
|
|
|
|
|
|
|
- Use a specific editor to view and merge configuration files (default is `vim -d`):
|
|
|
|
|
|
|
|
`DIFFPROG={{editor}} pacdiff`
|
|
|
|
|
pages*: fix brand and technical names (#12145)
* pages*: fix Python, Java, pacman, apt, *zip*, xz, tar, git, RPM and grep names
* pages*: fix brand and technical names
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
* fluxctl, gitmoji, in-toto-run, osv-scanner: replace `git` with Git
* bzegrep: enclose egrep with backticks
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-bug: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-bug: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-force-clone: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* gitwatch: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* hub-init: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* pages.*: use Linux instead of GNU/Linux
---------
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-30 01:46:32 -03:00
|
|
|
- Scan for configuration files with `locate` instead of using `pacman` database:
|
2022-10-02 07:21:30 -07:00
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pacdiff {{[-l|--locate]}}`
|
2022-10-02 07:21:30 -07:00
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pacdiff {{[-h|--help]}}`
|