I'm not sure how I did this. I had to wipe my dedicated server and start again, so I backed up everything to a remote VPS first; during this process, I compressed a folder full of other folders as foldername.gz instead of using tar, so when I extract it now it extracts as a single file and not a folder full of folders. I tried renaming to foldername.tar.gz but when extracting it gives me:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
When I use file foldername.gz
it gives me:
foldername.gz: gzip compressed data, was "2a863233-fac4-4611-8bbd-76416e58e5d4.dat", last modified: Thu Dec 9 10:36:04 2021, from Unix, original size modulo 2^32 2629632
Edit, this is what file -z foldername.gz
gives:
foldername.gz: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT) (gzip compressed data, was "2a863233-fac4-4611-8bbd-76416e58e5d4.dat", last modified: Thu Dec 9 10:36:04 2021, from Unix)
foldername.gz
– Henrik supports the community Jan 06 '22 at 11:04case 'z':
. 22 years ago – Chris Davies Jan 06 '22 at 11:20file -z
has a bug (looks like it, for me, there's a difference between-z
and without-z
:file rand.gz
:rand.gz: gzip compressed data, was …
,file -z rand.gz
:rand.gz: data (gzip compressed data, was …
), or this is really somethingfile
doesn't know. Well. Uncompress it (unpigz -k foldername.gz
, orgunzip -k foldername.gz
, depending on what you've got installled), try runningfile foldername
, see if that is more enlightening. If not, trybinwalk
. – Marcus Müller Jan 06 '22 at 11:38zcat foldername.gz | zcat | file -
return anything sane? – Chris Davies Jan 06 '22 at 11:46/dev/stdin: PCX ver. 2.5 image data bounding box [3840, 30024] - [29810, 31042], 110 planes each of 3-bit 26964 x 25965 dpi, uncompressed
I dont remember compressing it twice! But I must have been extremely tired to have done this in the first place, so its possible. I have no idea what this output means.
– GodsDead Jan 06 '22 at 12:01