linux exiftool -all= -overwrite_original example.pdf mv example.pdf temp.pdf qpdf --linearize temp.pdf example.pdf windows exiftool -overwrite_original -all= PDF qpdf linearize --replace-input output.pdf