Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/linux/pacdiff Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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`