Skip to content

Initial release

Latest

Choose a tag to compare

@Stranget0 Stranget0 released this 22 Nov 15:15
f80128f

Automatic compression of new files to single file

This is a simple utility CLI tool to watch specified folder and automatically compress new pdf's into a file with specified name, deleting the old file automatically.

I have used it personally to compress CV's exported via Figma (big files) by watching the download folder and decided that somebody could also benefit this.

It requires and uses GhostScript with specified PATH env variable set to its bin folder.

If the gs command is not recognized despite setting the env variable with ghostscript executable, then make a shortcut to it setting the name to gs.exe .

How to use

  • Create a folder with general script toolings and place the executable there replacing the name to pdf_compress
  • Add the folder to PATH environment variable
  • run a command line
  • enter the folder you want to watch
  • run pdf_compress