I used a this command: "exiftool -all:all=" to remove the XMP tags in a PDF-file => doesn't work.
Results:
- the file size increases
- the XMP tags are still inside
How could I fix this? What did I do wrong?
1) My OS:
Windows 7
2) The ExifTool version you are using:
10.22
3) The specific command line you are using:
exiftool -all:all= filename.pdf
4) The console output from the command:
Warning: [minor] ExifTool PDF edits are reversible. Deleted tags may be recovered! - filename.pdf
1 image files updated
-- press RETURN --
Read the text at the top of the PDF tags documentation (https://exiftool.org/TagNames/PDF.html) for an explanation. The minor warning you got is supposed to be a hint.
- Phil
Edit: Also see this post (https://exiftool.org/forum/index.php/topic,3943.msg27738.html#msg27738) for a way to make these changes permanent.
This means a lot of XMP tags are still inside :'(.
These XMP tags contain a lot of sensible data.
Is there a possibility to extend ExifTool to remove all XMP tags?
Or can you suggest another tool which is able to remove all XMP tags?
If it is just one file you need to clean of its metadata, you could edit the file with a hex editor and overwrite the info with e.g., spaces. If you're on a Mac, you could perhaps create a Quartz filter that removes the metadata and apply that to the file (haven't tried this, but I think there is a Quartz filter step that allows you to do this). Otherwise there is, of course, Adobe Acrobat.
Quote from: Schnulli227 on July 12, 2016, 12:10:10 PM
Is there a possibility to extend ExifTool to remove all XMP tags?
Or can you suggest another tool which is able to remove all XMP tags?
Check the link my edit above.
- Phil
Quote from: Phil Harvey on July 12, 2016, 04:10:00 PM
Quote from: Schnulli227 on July 12, 2016, 12:10:10 PM
Is there a possibility to extend ExifTool to remove all XMP tags?
Or can you suggest another tool which is able to remove all XMP tags?
Check the link my edit above.
- Phil
Thanks Phil, with the link you provided all worked. :)