TARDIFF(1) | General Commands Manual | TARDIFF(1) |
tardiff
—
tardiff |
[-p ] [-m
mtree] oldtar
newtar delta |
tardiff
utility finds differences between two tar
files, oldtar and newtar, and
creates a delta archive at delta.
The delta archive, which is usually much smaller than the new tar file, can be used with tarpatch(1) to transform a directory tree from the old tar file's content to the new tar file's content. The delta archive additionally contains a manifest to verify that the old and new trees are correct.
The following options are supported:
-m
mtreeIf you pass the -m
option to
tardiff
, make sure to pass the same option to
tarpatch(1) too; otherwise it will be unable to verify
that the mtree file was correctly patched.
-p
tardiff
does not support file names with any funny
business like spaces, newlines, shell metacharacters, etc.
January 5, 2021 | NetBSD 9.1_STABLE |