mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 06:44:13 +00:00
30 lines
679 B
Plaintext
30 lines
679 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pacrepairfile
|
|
|
|
> Reset properties on files managed by alpm.
|
|
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacrepairfile.pod>.
|
|
|
|
- Search for the package and reset the properties of a file:
|
|
|
|
`pacrepairfile {{path/to/file}} --package`
|
|
|
|
- Reset a file quietly:
|
|
|
|
`pacrepairfile {{package_name}} --quiet --package`
|
|
|
|
- Reset specific file properties (mode, owner UID, group GID, or modification time):
|
|
|
|
`pacrepairfile {{package_name}} --{{mode|gid|mtime|uid}} --package`
|
|
|
|
- Display help:
|
|
|
|
`pacrepairfile --help`
|
|
|
|
- Display version:
|
|
|
|
`pacrepairfile --version`
|