ExifTool Forum

ExifTool => Newbies => Topic started by: charlesleroi on August 03, 2020, 12:16:09 PM

Title: restore pdf metadata (author)
Post by: charlesleroi on August 03, 2020, 12:16:09 PM
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
Title: Re: restore pdf metadata (author)
Post by: StarGeek on August 03, 2020, 12:37:35 PM
See the third paragraph on the PDF tags page (https://exiftool.org/TagNames/PDF.html).

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.
Title: Re: restore pdf metadata (author)
Post by: charlesleroi on August 03, 2020, 01:21:12 PM
Thanks, that worked!
Title: Re: restore pdf metadata (author)
Post by: Phil Harvey on August 03, 2020, 09:32:13 PM
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
Title: Re: restore pdf metadata (author)
Post by: StarGeek on August 03, 2020, 10:28:12 PM
Good to know.