As far as I know, WinRAR archives may contain ECC (error correction codes), so if the archive is slightly damaged, then it can be fixed by itself.
For example, I can first encode archives.tar
to archives.tar.ecc
, and then upload it to my server. If the file is slightly damaged after downloading by the client, then it can be fixed automatically without downloading the file again by decoding archives.tar.ecc
. I think it will be a great idea if the network connection is unstable.
I wonder whether there is any (open-sourced) software run on Linux that can meet my needs.
Any suggestions?
tar
s go further - GNUtar
encodes sparse file holes in header metadata and upon extraction by any POSIXpax
compatible archiver generates files containing information needed to rebuild the file, or by GNUtar
to the original sparse file. It uses primarily encoded header variables definable as specified by POSIX for thepax
utility w/-o
.