go-mtree icon indicating copy to clipboard operation
go-mtree copied to clipboard

add option to not error on "{filename} extra" output

Open imsteev opened this issue 9 years ago • 3 comments
trafficstars

From mtree(8):

     -e    Do not complain about files that are in the file hierarchy, but not in the specification.

I think this would be useful for when we just want to know if the hierarchy derived from the specification is at least a subset of the actual file hierarchy it is being compared to.

imsteev avatar Aug 12 '16 14:08 imsteev

I agree, this should be implemented after #48 is done. Although TarCheck does check for extra files

imsteev avatar Aug 12 '16 18:08 imsteev

Yes, sorry. I forgot that Extra was implemented (though I'll probably revamp it after #48, which IMO has a nicer interface for differences between manifests).

cyphar avatar Aug 13 '16 03:08 cyphar

This relates to #91

vbatts avatar Nov 18 '16 04:11 vbatts