Hello all.

I want to implement a snippet or module that do the following:

Every time an upload of a, pdf(preferably), is taking place, to execute a specific unix command(pdftk) with this file... The file will be just (edited)overwritten, same filename, same path.

Could you guide me through which hook(s) to implement or any other suggestion?

Thanks