Verify the integrity of the tar file with tarfile module?
- From: rudson alves <rudsonalves67@xxxxxxxxx>
- Date: Wed, 15 Aug 2012 07:59:15 -0700 (PDT)
Hello,
I took a Slackware package file .tar (uncompressed) and edited with random characters to generate any error in its structure, as shown in the test bash below:
$ tar -tf zoo.tar
../
install/
install/slack-desc
tar: Pulando para o próximo cabeçalho
tar: Exiting with failure status due to previous errors
$ echo $?
2
How can I verify the integrity of the tar file with tarfile module without having to expand it?
To be more precise, even expanding this file it not generated any error message.
.
- Prev by Date: Re: _mysql_exceptions.OperationalError: (2005, "Unknown MySQL server host
- Next by Date: Re: _mysql_exceptions.OperationalError: (2005, "Unknown MySQL server host
- Previous by thread: OT: Monty Python in Syria
- Next by thread: Re: Verify the integrity of the tar file with tarfile module?
- Index(es):