Crates.io | gentoo-cruft |
lib.rs | gentoo-cruft |
version | 1.0.5 |
source | src |
created_at | 2020-02-11 00:16:04.597256 |
updated_at | 2022-10-09 20:03:47.614614 |
description | Find files that are not recorded in the Gentoo package database |
homepage | |
repository | https://github.com/rtgill82/gentoo-cruft |
max_upload_size | |
id | 207201 |
size | 31,102 |
Find files that are not recorded in the Gentoo package database.
Scans the file system and compares it to the CONTENTS
catalogs in the Gentoo
installed package database. Files that are not listed in the package database
are displayed. MD5 sums and mtimes can also be calculated in order to list
files that have been modified since installation.
Just running cruft
at the command line will perform a simple comparison of
installed files. Specifying --md5
or --mtime
will check for modified files.
Full command line parameters are as follows:
USAGE:
cruft [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
-m, --md5 Calculate and compare MD5 sums (inverts config setting)
-t, --mtime Compare file modification times (inverts config setting)
-V, --version Prints version information
-v, --verbose Display warnings on STDERR
OPTIONS:
-f, --ignore-files <file>... Files to ignore when traversing the directory tree
-p, --ignore-paths <path>... Paths to ignore when traversing the directory tree
-d, --pkg-dir <path> Path to the Gentoo package database [default: /var/db/pkg]
The configuration files /etc/cruft.yaml
and $HOME/.config/cruft.yaml
will
be read if they are available. An example is provided in the crate or in the
repository at:
https://github.com/rtgill82/gentoo-cruft/blob/master/config/cruft.yaml