4 ms·
> The reason tar doesn't have an index is so that tarballs can be concatenated. I'm curious, what's the use-case for this? Offhand, the only use for that abili
by gwern 16y ago
> The reason tar doesn't have an index is so that tarballs can be concatenated.
I'm curious, what's the use-case for this? Offhand, the only use for that ability I can think of is if I forgot a file in a tarball and have already deleted the originals; I can tar the missing file and cat the two tarballs.
- dagw 16y agoDon't think files, think tapes. Tar stands for Tape ARchive and was originally primarily used for backing up to tapes. When working with tapes where deleteing and re-writing archives is basically impossible, concating an archive to the end of an already backed up archive to create a new, updated archive is very useful.
- gwern 16y agoAh, I see. Yes, that does sound very useful.