commands.sh

pacdiff

linux

Maintenance utility for `.pacorig`, `.pacnew` and `.pacsave` files created by `pacman`.

More info →

Options (4)

-s, --sudoboolean

Use sudo and sudoedit to remove and merge files

Example: pacdiff {{[-s|--sudo]}}
-b, --backupboolean

Review files needing maintenance, creating `.bak`ups of the original if you `(O)verwrite`

Example: pacdiff {{[-s|--sudo]}} {{[-b|--backup]}}
-l, --locateboolean

Scan for configuration files with `locate` instead of using `pacman` database

Example: pacdiff {{[-l|--locate]}}
-h, --helpboolean

Display help

Example: pacdiff {{[-h|--help]}}

Examples (6)

Review files that need maintenance in interactive mode

Use sudo and sudoedit to remove and merge files

pacdiff [-s|--sudo]

Review files needing maintenance, creating `.bak`ups of the original if you `(O)verwrite`

pacdiff [-s|--sudo] [-b|--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 [-l|--locate]

Display help

pacdiff [-h|--help]
made by @shridhargupta | data from tldr-pages