the stream

android backup file header

Alexander Bochmann Wednesday 08 of March, 2017
I'll spoil the fun from Florian Haas' question on G+ right away - the resulting info seems useful:

Florian Haas wrote:
OK people, try to guess (without googling) what this does:

( printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" ; tail -c +25 oldfile ) > newfile

Clue: head→desk, seriously.

Obviously, this replaces the header of a file. But why?

Florian Haas wrote:
This is how you "transform" an Android backup file into a regular gzipped tarball.