I tar a set of files with command:tar -czvf file.tar.gz file/
then copy to usb (ext4 format), I checked that I can untar it. After I reinstall system , when mount usb , some error happened , I do fsck /dev/sdc1
and success in mount and copy it to pc. When I untar it tar -xvf file.tar.gz
, error happen again:
gzip: stdin: not in gzip format
tar : child returned status 1
tar: Error is not recoverable: exiting now
I have no idea how to rescue the data. Any help needed. Thanks.