Test if a Tarball compressed file is not corrupt

?
R
Bash

Simple sanity checks useful to add on backup scripts

1# Check if file is not corrupt
2tar -xvzf compression.tar.gz -O > /dev/null
3
4# Check zipped contents
5tar -tvvf acompression.tar.gz

Created on 5/24/2018