tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mtree: exclude keywords from being checked



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


Home | Main Index | Thread Index | Old Index