iptc2xmp.args 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #------------------------------------------------------------------------------
  2. # File: iptc2xmp.args
  3. #
  4. # Description: Tag name translations for converting from IPTC to XMP
  5. #
  6. # Usage: exiftool -tagsFromFile SRCFILE -@ iptc2xmp.args DSTFILE
  7. #
  8. # Requires: ExifTool version 7.45 or later
  9. #
  10. # Revisions: 2005/05/14 - P. Harvey Created
  11. # 2008/03/04 - PH Changed Location translation and added
  12. # IntellectualGenre and SubjectCode
  13. # 2008/09/30 - PH Added writing of Photoshop:IPTCDigest
  14. # 2009/01/20 - PH Updated to conform with MWG spec
  15. # 2009/10/21 - PH Write XMP-xmp:CreateDate as per MWG 1.01 spec
  16. #
  17. # References: http://www.iptc.org/IPTC4XMP/
  18. # http://www.iptc.org/IIM/
  19. # http://www.adobe.com/products/xmp/pdfs/xmpspec.pdf
  20. # http://www.metadataworkinggroup.org/specs/
  21. #
  22. # Notes: 1) Also updates Photoshop:IPTCDigest as per MWG recommendation.
  23. #
  24. # 2) These arguments will not delete XMP tags which are missing
  25. # from the IPTC. The XMP tags should be deleted beforehand if
  26. # required.
  27. #------------------------------------------------------------------------------
  28. -XMP-dc:Creator < IPTC:By-line
  29. -XMP-dc:Description < IPTC:Caption-Abstract
  30. -XMP-dc:Rights < IPTC:CopyrightNotice
  31. -XMP-dc:Subject < IPTC:Keywords
  32. -XMP-dc:Title < IPTC:ObjectName
  33. -XMP-photoshop:AuthorsPosition < IPTC:By-lineTitle
  34. -XMP-photoshop:CaptionWriter < IPTC:Writer-Editor
  35. -XMP-photoshop:Category < IPTC:Category
  36. -XMP-photoshop:City < IPTC:City
  37. -XMP-photoshop:Country < IPTC:Country-PrimaryLocationName
  38. -XMP-photoshop:Credit < IPTC:Credit
  39. -XMP-photoshop:DateCreated < IPTC:DateCreated
  40. # overwrite XMP DateCreated to include date and time if available
  41. -XMP-photoshop:DateCreated < Composite:DateTimeCreated
  42. -XMP-photoshop:Headline < IPTC:Headline
  43. -XMP-photoshop:Instructions < IPTC:SpecialInstructions
  44. -XMP-photoshop:Source < IPTC:Source
  45. -XMP-photoshop:State < IPTC:Province-State
  46. -XMP-photoshop:SupplementalCategories < IPTC:SupplementalCategories
  47. -XMP-photoshop:TransmissionReference < IPTC:OriginalTransmissionReference
  48. -XMP-photoshop:Urgency < IPTC:Urgency
  49. -XMP-iptcCore:CountryCode < IPTC:Country-PrimaryLocationCode
  50. -XMP-iptcCore:Location < IPTC:Sub-location
  51. -XMP-xmp:CreateDate < IPTC:DigitalCreationDate
  52. -XMP-xmp:CreateDate < Composite:DigitalCreationDateTime
  53. # these tags are not free-form text, and may need special handling:
  54. #-XMP-iptcCore:IntellectualGenre < IPTC:ObjectAttributeReference
  55. #-XMP-iptcCore:SubjectCode < IPTC:SubjectReference
  56. -Photoshop:IPTCDigest=new
  57. # end