Can't extract tar file on Linux server
In 7-zip file manager I created a tar file (with many subdirectories and files inside). I uploaded this file to the Debian server but can't extract:
tar -xvfz files.tar
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
I also tried tar -xvf userpics.tar
but then happends just nothing.
Any ideas how to extract this file?
It is a tar file, not a .tar.gz
-z is for gzip
try:
tar xvf files.tar
tar xvf files.tar
As it's not a gzip file, you don't need the z
parameter.