Sanitize a PDF file - remove potentially malicious content from PDF file. Uses ghostscript. source PDF file -> temporary PostScript file -> sanitized pdf. Prerequisites Ghostscript is needed. sudo apt install ghostscript