I have an application which I can not change, that writes to a big 250 GB plain text file. After compressing with GZ it is only 30 GB.
This application has no option of compressing it's output, and it can only write to a file name (not to stdout).
Is there a way that I can set up for the output to be compressed immediately, without first storing the 250 GB file on my disk?
I also need the other way around, to fool the application so that it reads a plaintext file which in reality is compressed.