andrewgregory / pacutils

Helper library for libalpm based programs.
MIT License
107 stars 17 forks source link

Feature request: output files that need to be corrected #33

Open xianwenchen opened 5 years ago

xianwenchen commented 5 years ago

At the moment I use

$ sudo paccheck --file-properties --quiet | grep -Po "(?<=\').*(?=\')"

to list files with full paths that need to be fixed, say

$ sudo paccheck --file-properties --quiet | grep -Po "(?<=\').*(?=\')" | sudo pacrepairfile --uid --gid --mode --mtime

It could be an advantage if paccheck could natively output such a list of files with full path, with an option like --problematic-files-only.

andrewgregory commented 5 years ago

paccheck is a package-oriented tool; I don't think having it output a list of files like that makes sense.