I did compress a directory to
.tar.xz archive format with this command:
tar --create --verbose --file myArchive.tar.xz /path/to/my/dir
then,I tried to check health of created archive with following command:
tar --compare --file myArchive.tar.xz /path/to/my/dir
and I got this error lines :
tar: /path/to/my/dir: Not found in archive tar: Exiting with failure status due to previous error
I retried it but got same resault.what is the problem and how can I solve it?