Sorry I may be wrong, but I do some tests:
(here I create invoice.jpg.tar.bz2 from invoice.jpg via file-roller)
----- # tar -tvf invoice.jpg.tar.bz2 -rw-r--r-- hrych/root 69081 2008-08-13 13:15 invoice.jpg -----
(here I edit .tar.bz2 in middle of file, via hex editor)
----- # tar -tvf invoice.jpg.tar.bz2 tar: This does not look like a tar archive tar: Skipping to next header
bzip2: Data integrity error when decompressing. Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files.
tar: Child returned status 2 tar: Error exit delayed from previous errors # -----
Here i noticed about -tvv option... maybe is suit our needs? Thanks!
Sorry I may be wrong, but I do some tests:
(here I create invoice.jpg.tar.bz2 from invoice.jpg via file-roller)
-----
# tar -tvf invoice.jpg.tar.bz2
-rw-r--r-- hrych/root 69081 2008-08-13 13:15 invoice.jpg
-----
(here I edit .tar.bz2 in middle of file, via hex editor)
-----
# tar -tvf invoice.jpg.tar.bz2
tar: This does not look like a tar archive
tar: Skipping to next header
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Child returned status 2
tar: Error exit delayed from previous errors
#
-----
Here i noticed about -tvv option... maybe is suit our needs?
Thanks!