---
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`
