how to fix "tar: Cannot verify compressed archives" error?
1
vote
1
answer
791
views
I wanted to compress a directory into
.tar.xz
format and verify it after writing so I wrote a command like this:
tar --xz --create --verbose --verify --file myArchive.tar.xz /patch/to/my/dir
but it did not create archive and I got this two error lines:
tar: Cannot verify compressed archives
try 'tar --help' or 'tar --usage' for more information.
I tried tar.gz
format instead of tar.xz
but got exactly same resault, what is the problem and how can I solve it?
Asked by mmj
(119 rep)
Nov 10, 2020, 11:08 PM
Last activity: Nov 10, 2020, 11:25 PM
Last activity: Nov 10, 2020, 11:25 PM