Light log compression script (BASH)