https://blog.joshlemon.com.au/protecting-your-pdf-files-and-metadata/
https://gist.github.com/hubgit/6078384
exiftool -all:all= $FILE ; qpdf --linearize $FILE output.pdf
Images
imagemagick: mogrify -strip NAME_OF_FILE
Test with: exiftool -all NAME_OF_FILE