verifying compressed tar file?
Anyone know a good way to verify a compressed tar.gz file to its origin archive?
My thoughts are: Code:
tar dxzvf [filename] [directory archive] Code:
gunzip dc [filename] |tar dvf [directory archive] |
tar tvf <file.tar.gz>
Will list the contents of the archive without actually writing them to disk. In the GNU tar you don't have to specify any options for the fact that it is gzip'ped - it will detect it automatically. You could do a comparison between the list that produces and the list of files in the directories it backed up. |
Quote:
|
All times are GMT -5. The time now is 07:52 AM. |