Quickie: what is a file that starts with these bytes?
by dedec0 from LinuxQuestions.org on (#4PVAX)
Now i have this binary file that should be some sort of patch (for a project file tree, not for a single file in it), but i do not know what to do with it. It is offered do download without extension - which lead me to test it with a few extract commands: bzip, xz, gzip, tar.
A few lines from my terminal should be informative:
Code:$ head patch-1 |xxd |head -n 2
00000000: 2558 445a 3030 3425 0000 0008 0015 0015 %XDZ004%........
00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................Do you know what that file header is, or how to find it with that info?
(xz starting bytes have "7z" written... do they have the same format that 7zip uses?)


A few lines from my terminal should be informative:
Code:$ head patch-1 |xxd |head -n 2
00000000: 2558 445a 3030 3425 0000 0008 0015 0015 %XDZ004%........
00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................Do you know what that file header is, or how to find it with that info?
(xz starting bytes have "7z" written... do they have the same format that 7zip uses?)