From 5342c1c9a15ea84dd3ed0b681baadde10801a183 Mon Sep 17 00:00:00 2001 From: Isaac <72410860+isaec@users.noreply.github.com> Date: Sun, 2 Oct 2022 07:21:30 -0700 Subject: [PATCH] pacdiff: add page (#8474) --- pages/linux/pacdiff.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/pacdiff.md diff --git a/pages/linux/pacdiff.md b/pages/linux/pacdiff.md new file mode 100644 index 0000000000..99eacb7e5b --- /dev/null +++ b/pages/linux/pacdiff.md @@ -0,0 +1,28 @@ +# pacdiff + +> Maintenance utility for `.pacorig`, `.pacnew` and `.pacsave` files created by `pacman`. +> More information: . + +- 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`