Jump to content

Edit PDF metadata: Difference between revisions

From www.ReeltoReel.nl Wiki
Pvdm (talk | contribs)
mNo edit summary
Pvdm (talk | contribs)
mNo edit summary
Line 18: Line 18:
  # find . -type f -iname '*.pdf' -exec exiftool -P -overwrite_original -Producer='www.bladiebla.nl' -Creator='barbapappa' {} \;
  # find . -type f -iname '*.pdf' -exec exiftool -P -overwrite_original -Producer='www.bladiebla.nl' -Creator='barbapappa' {} \;
  # find . -type f -iname '*.pdf' -exec exiftool -P -delete_original! {} \;
  # find . -type f -iname '*.pdf' -exec exiftool -P -delete_original! {} \;
=Edit in one metadatafile=
Make a parameter file
<pre>
-Title=Mijn Titel
-Author=Mijn Naam
-Creator=Microsoft Word
-Producer=Adobe PDF Library 15.0
-Subject=Korte samenvatting
-Keywords=tag1, tag2, tag3
-CreateDate=2025:08:14 08:00:00
-ModifyDate=2025:08:14 08:00:00
</pre>
and apply with:
# exiftool -@ meta.args -overwrite_original pdfbestand.pdf

Revision as of 07:06, 14 August 2025

View PDF metadata:

# exiftool file.pdf

View specific metadata:

# exiftool -Creator file.pdf
# find . -type f -iname '*.pdf' -exec exiftool -Creator {} \;

Set metadata:

# exiftool -Creator='barbapappa' file.pdf
# find . -type f -iname '*.pdf' -exec exiftool -Creator='barbapappa' {} \;

to preserve date/time:

-P

to delete backup file that is created:

-delete_original[!]
# find . -type f -iname '*.pdf' -exec exiftool -P -overwrite_original -Producer='www.bladiebla.nl' -Creator='barbapappa' {} \;
# find . -type f -iname '*.pdf' -exec exiftool -P -delete_original! {} \;

Edit in one metadatafile

Make a parameter file

-Title=Mijn Titel
-Author=Mijn Naam
-Creator=Microsoft Word
-Producer=Adobe PDF Library 15.0
-Subject=Korte samenvatting
-Keywords=tag1, tag2, tag3
-CreateDate=2025:08:14 08:00:00
-ModifyDate=2025:08:14 08:00:00

and apply with:

# exiftool -@ meta.args -overwrite_original pdfbestand.pdf