none
Compress any file to 0 bytes RRS feed

  • Question

  • Can you imagine compressing a file by 100%, i.e. compacting a file to 0 bytes? Sounds too astonishing. Well, don't be stupefied when you read that its possible to compress any file to 0 bytes.

    BARF! or Better Archiver with Recursive Functionality can achieve a file compression of 100% by recursively compressing the file. The BARF compressor will compress any nonempty file by at least one byte. Thus,by compressing already compressed files over and over again, it is possible to eventually reduce any file to 0 bytes.

    BARF isfree, open source software, released under the GNU GPL. Its code is written in C/C++ and can be downloaded from the BARF webpage.

    How it Works?
    BARF uses recursive compression to compress the file. BARF compresses the files by using one of the 257 compression algorithms by selecting the best one at each stage of recursion. At each step it adds an extension .x or .x?? to the existing filename. This technique ensures that there is no disambiguation while decompressing the files.


    To try it out, read the steps on my blog.
    Saturday, September 22, 2007 10:54 AM

All replies

  • this is 100% madness... What do you understand by 'compressing a file to 0 bytes'..?
    Tuesday, October 2, 2007 12:51 PM
  • just try it once for yourself... n u will understand this 'madness'
    Saturday, October 6, 2007 6:14 PM