Mac OS X CCleaner binary for script execution

Hi,

Just wanted to know if there's a way with the current Mac version of CCleaner to run from the command line without the GUI.

Basically to remove applications' cache or just clean the drive before doing weekly backups (with Carbon Copy Cloner) and save some time and disk space.

Or is there a linux version I can compile for Mac?

Thanks again,

Gianfranco