restore pdf metadata (author)

Started by charlesleroi, August 03, 2020, 12:16:09 PM

Previous topic - Next topic

charlesleroi

Hi everybody!

I changed the author metadata of a pdf with exiftool and deleted the original pdf.
Is it possible to restore the original author data?

Kind regards,
Charles

StarGeek

See the third paragraph on the PDF tags page.

Using -PDF-update:all= will remove any updates that exiftool has made as long as the PDF hasn't been processed by another program.  I'm guessing that you could use -PDF-update:Author= to restore just the Author tag, though I haven't tested it.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

charlesleroi


Phil Harvey

Quote from: StarGeek on August 03, 2020, 12:37:35 PM
I'm guessing that you could use -PDF-update:Author= to restore just the Author tag, though I haven't tested it.

No.  You can only revert all changes, not individual tags like this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).