Hi, i'm looking for some small independent source for an archive facility to use within some code. Ideally it'll also compress, i've been looking at bzip2, gzip, tar, sharutils, etc from GNU but the dependents are many (yet there possible). I've got some source for LZW which is very small, but the archive's tend to be a third bigger than the original (and I don't believe it handles directory structures)(I've just checked and it's actually just compression (not archiver)... and this example actually came out half the size, lol).
Anyone have any suggestions / examples?
ARCHIVE: ar, cpio, shar, tar, LBR
COMPRESS: bzip2, gzip, LZMA, lzop, rzip, SQ, compress, LZW
BOTH: ARC, Cabinet, LHA · LZX, RAR, zoo
(src
http://en.wikipedia.org/wiki/List_of_archive_formats)