I was looking for a good enough solution to compress pdf files, one which I could use to create scripts and automate some tasks.
Buy a Pdf Compressor license for use once per year is not an option for.
Luckly there exists GhostScript.
So, if you have GhostScript installed in your machine it is pretty easy to compress some files without losing too much quality.