Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to compress a large nuber of files that have near identical headers, and also some data, however I do not wish to archive them, nor do I wish to zip them individually(because the copression ratio would be much higher if substitutions of similar blocks could be done using a single table). Does a compression method exist to do this already, or should I implement it myself.

Note: Don't say "Disk space is cheap", because I may want to use this on an embedded system.

share|improve this question
    
basically you are talking about a compressing filesystem? –  Baarn May 31 '12 at 20:08
    
you mean that you want to save space in your files, but don't want to have to compress /extract them everytime you want to use them? Because almost all compressors can concatenate files before compressing... Seems that you want your filesystem to save space, that's it ? –  woliveirajr May 31 '12 at 20:14

1 Answer 1

up vote 2 down vote accepted

Don't say "Disk space is cheap", because I may want to use this on an embedded system.

Use squashfs or cramfs. A single compressed stream, which appears as many separate files once mounted.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.