Sample Header Ad - 728x90

got "tar: /path/to/my/dir: Not found in archive" error while verifying created archive

4 votes
2 answers
6701 views
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?
Asked by mmj (119 rep)
Dec 11, 2020, 06:33 PM
Last activity: Dec 15, 2020, 11:12 AM