On Wed, 13 Aug 2025, Edgar Fuß wrote:

In mtree, how do I exclude keywords present in the specification from being
checked against the on-filesystem value? E.g, the spec contains md5, but I
don't want mtree to compare that to the actual files?


Use spec. conversion (-C) with -R/-K/-k:

```
mtree -R md5,size -C < /etc/mtree/set.base | mtree -ep /
```

-RVP

Reply via email to