HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pacrepairfile — Reset properties on files managed by alpm. More information: <https://github.com/andrewgregory/pacut

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfilespacrepairfileclialpmpropertiesresetmanaged
linux

Problem

How to use the pacrepairfile command: Reset properties on files managed by alpm. More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacrepairfile.pod>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/pacrepairfile

Revisions (0)

No revisions yet.