A simple question. On x86 Solaris 10, I tried the following to compress a folder(Data) of files.
tar -cvf /path/to/Data/* | gzip > /path/to/archive/Data.tar.gz
Now, I can list the file names and their sizes using:
gunzip -c Data.tar.gz
However, when I try to uncompress(for validation) Data.tar.gz:
gzip -d Data.tar.gz
tar -xvf Data.tar
I get a "checksum error"
Can someone please suggest the correct way to compress and extract files in Solaris 10. Thanks