I'd like to embed checksum information into file, that I transfer.
tar.xz file and I can only transfer one file to remote side.
How do you recommend I embed checksum information?
I want checksum of whole archive, not it's contents (I'd like to check it's integrity "before" unpacking).
I know I could pack it again in some format supporting checksums (like
rar) but it's computational cost to "repack" stuff, just for adding checksum (on the other hand I don't like
rar format). So preferred would be something like
gunzip etc , but for adding, checking, and removing checksum.
Any tools, ideas, scripts, workarounds?
Am I right
.gz support concatenation? Maybe it's worth to use this feature to append compressed checksum on the end of file ?