Files
cheatsheet-tldr/tldr/linux/pacfile
2025-10-15 00:19:37 +00:00

26 lines
557 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pacfile
> Display information about package files, including repository data, file system checks, and database comparisons.
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacfile.pod>.
- List all available packages:
`pacfile {{path/to/file_or_directory}}`
- Compare database values to the file system:
`pacfile {{path/to/file_or_directory}} --check`
- Display help:
`pacfile --help`
- Display version:
`pacfile --version`