Exiftool Update Issues

Started by imagereflex, November 28, 2017, 09:29:52 PM

Previous topic - Next topic

imagereflex

My computer died, and so I ended up updating Exiftool from version 8.62 to 10.67.  In the process, I seem to have killed a script that I use to clear out certain exif fields in jpegs.  Now, the script runs, and it runs exiftool against each image, but none of the fields are changing as they should.

I've run exiftool with the -v2 option on one single image (using the same settings as called by the script).  I'm afraid the output isn't giving me much direction (my apologies in advance if this is a noobie issue). 

The script makes a call to exiftool as follows:

/usr/local/bin/exiftool -CopyrightNotice= -Rights= -Creator= -Credit= -By-Line= -overwrite_original FILENAME

When I manually run the script as follows:

/usr/local/bin/exiftool -CopyrightNotice= -Rights= -Creator= -Credit= -By-Line= -overwrite_original -v2 "Arena(RL_171127_1RL0692).jpg"

I get the following output:

Deleting IPTC:CopyrightNotice
Deleting XMP-dc:Rights
Deleting PostScript:Creator
Deleting PDF:Creator
Deleting XMP-pdf:Creator
Deleting XMP-dc:Creator
Deleting XMP-iptcExt:Creator
Deleting XMP-photoshop:Credit
Deleting IPTC:Credit
Deleting IPTC:By-line
======== Arena(RL_171127_1RL0692).jpg
Rewriting Arena(RL_171127_1RL0692).jpg...
  Editing tags in: APP1 APP13 IPTC PDF Photoshop PostScript XMP
  Creating tags in:
JPEG APP1 (11368 bytes):
JPEG APP13 (12552 bytes):
  Rewriting Photoshop
  Rewriting IPTC
JPEG APP1 (6728 bytes):
  Rewriting XMP
    [XMP rewritten with no changes]
JPEG APP2 (574 bytes):
JPEG APP14 (12 bytes):
JPEG DQT (130 bytes):
JPEG SOF0:
JPEG DRI (2 bytes):
JPEG DHT (416 bytes):
JPEG SOS
Nothing changed in Arena(RL_171127_1RL0692).jpg
    0 image files updated
    1 image files unchanged

Any idea why I'm getting files unchanged instead of updated?

Hayo Baan

Looks like your file simply doesn't have any of the tags you clear out. What is output if you simply ask for the tags (leave off the = after the tag names)?
Hayo Baan – Photography
Web: www.hayobaan.nl

imagereflex

Actually, that resulted in a lot of data (below).

  ExifToolVersion = 10.67
  FileName = Arena(RL_171127_1RL0692).jpg
  Directory = .
  FileSize = 2722030
  FileModifyDate = 1511922837
  FileAccessDate = 1511922837
  FileInodeChangeDate = 1511922837
  FilePermissions = 33188
  FileType = JPEG
  FileTypeExtension = JPG
  MIMEType = image/jpeg
JPEG APP1 (11368 bytes):
  ExifByteOrder = II
  + [IFD0 directory with 21 entries]
  | 0)  ImageWidth = 8256
  |     - Tag 0x0100 (2 bytes, int16u[1])
  | 1)  ImageHeight = 5504
  |     - Tag 0x0101 (2 bytes, int16u[1])
  | 2)  BitsPerSample = 8 8 8
  |     - Tag 0x0102 (6 bytes, int16u[3])
  | 3)  PhotometricInterpretation = 2
  |     - Tag 0x0106 (2 bytes, int16u[1])
  | 4)  ImageDescription = MIAMI, FL - NOVEMBER 27: View of the Arena during a college [snip]
  |     - Tag 0x010e (298 bytes, string[298])
  | 5)  Make = NIKON CORPORATION
  |     - Tag 0x010f (18 bytes, string[18])
  | 6)  Model = NIKON D850
  |     - Tag 0x0110 (11 bytes, string[11])
  | 7)  Orientation = 1
  |     - Tag 0x0112 (2 bytes, int16u[1])
  | 8)  SamplesPerPixel = 3
  |     - Tag 0x0115 (2 bytes, int16u[1])
  | 9)  XResolution = 300 (3000000/10000)
  |     - Tag 0x011a (8 bytes, rational64u[1])
  | 10) YResolution = 300 (3000000/10000)
  |     - Tag 0x011b (8 bytes, rational64u[1])
  | 11) ResolutionUnit = 2
  |     - Tag 0x0128 (2 bytes, int16u[1])
  | 12) Software = Adobe Photoshop CS6 (Macintosh)
  |     - Tag 0x0131 (32 bytes, string[32])
  | 13) ModifyDate = 2017:11:27 22:57:41
  |     - Tag 0x0132 (20 bytes, string[20])
  | 14) Artist = Richard Lewis   
  |     - Tag 0x013b (17 bytes, string[17])
  | 15) WhitePoint = 0.313 0.329 (313/1000 329/1000)
  |     - Tag 0x013e (16 bytes, rational64u[2])
  | 16) PrimaryChromaticities = 0.64 0.33 0.21 0.71 0.15 0.06 (64/100 33/100 21/100 71/[snip]
  |     - Tag 0x013f (48 bytes, rational64u[6])
  | 17) YCbCrCoefficients = 0.299 0.587 0.114 (299/1000 587/1000 114/1000)
  |     - Tag 0x0211 (24 bytes, rational64u[3])
  | 18) YCbCrPositioning = 2
  |     - Tag 0x0213 (2 bytes, int16u[1])
  | 19) ExifOffset (SubDirectory) -->
  |     - Tag 0x8769 (4 bytes, int32u[1])
  | + [ExifIFD directory with 46 entries]
  | | 0)  ExposureTime = 0.004 (10/2500)
  | |     - Tag 0x829a (8 bytes, rational64u[1])
  | | 1)  FNumber = 6.3 (63/10)
  | |     - Tag 0x829d (8 bytes, rational64u[1])
  | | 2)  ExposureProgram = 1
  | |     - Tag 0x8822 (2 bytes, int16u[1])
  | | 3)  ISO = 200
  | |     - Tag 0x8827 (2 bytes, int16u[1])
  | | 4)  SensitivityType = 2
  | |     - Tag 0x8830 (2 bytes, int16u[1])
  | | 5)  RecommendedExposureIndex = 200
  | |     - Tag 0x8832 (4 bytes, int32u[1])
  | | 6)  ExifVersion = 0231
  | |     - Tag 0x9000 (4 bytes, undef[4])
  | | 7)  DateTimeOriginal = 2017:11:27 19:44:32
  | |     - Tag 0x9003 (20 bytes, string[20])
  | | 8)  CreateDate = 2017:11:27 19:44:32
  | |     - Tag 0x9004 (20 bytes, string[20])
  | | 9)  OffsetTime = -05:00
  | |     - Tag 0x9010 (7 bytes, string[7])
  | | 10) OffsetTimeOriginal = -05:00
  | |     - Tag 0x9011 (7 bytes, string[7])
  | | 11) OffsetTimeDigitized = -05:00
  | |     - Tag 0x9012 (7 bytes, string[7])
  | | 12) ComponentsConfiguration = 1 2 3 0
  | |     - Tag 0x9101 (4 bytes, undef[4] read as int8u[4])
  | | 13) CompressedBitsPerPixel = 4 (4/1)
  | |     - Tag 0x9102 (8 bytes, rational64u[1])
  | | 14) ShutterSpeedValue = 7.965784 (7965784/1000000)
  | |     - Tag 0x9201 (8 bytes, rational64s[1])
  | | 15) ApertureValue = 5.310704 (5310704/1000000)
  | |     - Tag 0x9202 (8 bytes, rational64u[1])
  | | 16) ExposureCompensation = 0.3333333333 (2/6)
  | |     - Tag 0x9204 (8 bytes, rational64s[1])
  | | 17) MaxApertureValue = 3 (30/10)
  | |     - Tag 0x9205 (8 bytes, rational64u[1])
  | | 18) MeteringMode = 5
  | |     - Tag 0x9207 (2 bytes, int16u[1])
  | | 19) LightSource = 9
  | |     - Tag 0x9208 (2 bytes, int16u[1])
  | | 20) Flash = 0
  | |     - Tag 0x9209 (2 bytes, int16u[1])
  | | 21) FocalLength = 16 (160/10)
  | |     - Tag 0x920a (8 bytes, rational64u[1])
  | | 22) UserComment = ASCII
  | |     - Tag 0x9286 (44 bytes, undef[44])
  | | 23) SubSecTime = 50
  | |     - Tag 0x9290 (3 bytes, string[3])
  | | 24) SubSecTimeOriginal = 50
  | |     - Tag 0x9291 (3 bytes, string[3])
  | | 25) SubSecTimeDigitized = 50
  | |     - Tag 0x9292 (3 bytes, string[3])
  | | 26) FlashpixVersion = 0100
  | |     - Tag 0xa000 (4 bytes, undef[4])
  | | 27) ColorSpace = 65535
  | |     - Tag 0xa001 (2 bytes, int16u[1])
  | | 28) ExifImageWidth = 3000
  | |     - Tag 0xa002 (4 bytes, int32u[1])
  | | 29) ExifImageHeight = 2100
  | |     - Tag 0xa003 (4 bytes, int32u[1])
  | | 30) InteropOffset (SubDirectory) -->
  | |     - Tag 0xa005 (4 bytes, int32u[1])
  | | + [InteropIFD directory with 2 entries]
  | | | 0)  InteropIndex = R03
  | | |     - Tag 0x0001 (4 bytes, string[4])
  | | | 1)  InteropVersion = 0100
  | | |     - Tag 0x0002 (4 bytes, undef[4])
  | | 31) SensingMethod = 2
  | |     - Tag 0xa217 (2 bytes, int16u[1])
  | | 32) FileSource = 3
  | |     - Tag 0xa300 (1 bytes, undef[1])
  | | 33) SceneType = 1
  | |     - Tag 0xa301 (1 bytes, undef[1])
  | | 34) CFAPattern = .....
  | |     - Tag 0xa302 (8 bytes, undef[8])
  | | 35) CustomRendered = 0
  | |     - Tag 0xa401 (2 bytes, int16u[1])
  | | 36) ExposureMode = 1
  | |     - Tag 0xa402 (2 bytes, int16u[1])
  | | 37) WhiteBalance = 1
  | |     - Tag 0xa403 (2 bytes, int16u[1])
  | | 38) FocalLengthIn35mmFormat = 16
  | |     - Tag 0xa405 (2 bytes, int16u[1])
  | | 39) SceneCaptureType = 0
  | |     - Tag 0xa406 (2 bytes, int16u[1])
  | | 40) GainControl = 0
  | |     - Tag 0xa407 (2 bytes, int16u[1])
  | | 41) Contrast = 0
  | |     - Tag 0xa408 (2 bytes, int16u[1])
  | | 42) Saturation = 0
  | |     - Tag 0xa409 (2 bytes, int16u[1])
  | | 43) Sharpness = 0
  | |     - Tag 0xa40a (2 bytes, int16u[1])
  | | 44) SubjectDistanceRange = 0
  | |     - Tag 0xa40c (2 bytes, int16u[1])
  | | 45) Gamma = 2.2 (22/10)
  | |     - Tag 0xa500 (8 bytes, rational64u[1])
  | 20) GPSInfo (SubDirectory) -->
  |     - Tag 0x8825 (4 bytes, int32u[1])
  | + [GPS directory with 1 entries]
  | | 0)  GPSVersionID = 2 3 0 0
  | |     - Tag 0x0000 (4 bytes, int8u[4])
  + [IFD1 directory with 6 entries]
  | 0)  Compression = 6
  |     - Tag 0x0103 (2 bytes, int16u[1])
  | 1)  XResolution = 72 (72/1)
  |     - Tag 0x011a (8 bytes, rational64u[1])
  | 2)  YResolution = 72 (72/1)
  |     - Tag 0x011b (8 bytes, rational64u[1])
  | 3)  ResolutionUnit = 2
  |     - Tag 0x0128 (2 bytes, int16u[1])
  | 4)  ThumbnailOffset = 1714
  |     - Tag 0x0201 (4 bytes, int32u[1])
  | 5)  ThumbnailLength = 9648
  |     - Tag 0x0202 (4 bytes, int32u[1])
JPEG APP13 (12802 bytes):
  + [Photoshop directory, 12788 bytes]
  | IPTCData (SubDirectory) -->
  | - Tag 0x0404 (844 bytes)
  | + [IPTC directory, 844 bytes]
  | | CurrentIPTCDigest = .1..y+.,I..$^...
  | | -- IPTCApplication record --
  | | ApplicationRecordVersion = 3
  | | - Tag 0x0000, IPTCApplication record (2 bytes, int16u)
  | | DateCreated = 20171127
  | | - Tag 0x0037, IPTCApplication record (8 bytes, digits[8])
  | | TimeCreated = 194432-0500
  | | - Tag 0x003c, IPTCApplication record (11 bytes, string[11])
  | | City = Miami
  | | - Tag 0x005a, IPTCApplication record (5 bytes, string[0,32])
  | | Province-State = Florida
  | | - Tag 0x005f, IPTCApplication record (7 bytes, string[0,32])
  | | Country-PrimaryLocationName = USA
  | | - Tag 0x0065, IPTCApplication record (3 bytes, string[0,64])
  | | Country-PrimaryLocationCode = USA
  | | - Tag 0x0064, IPTCApplication record (3 bytes, string[3])
  | | ObjectName = Arena(RL_171127_1RL0692).jpg
  | | - Tag 0x0005, IPTCApplication record (28 bytes, string[0,64])
  | | Category = SPO
  | | - Tag 0x000f, IPTCApplication record (3 bytes, string[0,3])
  | | SupplementalCategories = Basketball
  | | - Tag 0x0014, IPTCApplication record (10 bytes, string[0,32])
  | | SupplementalCategories = Florida International University / FIU
  | | - Tag 0x0014, IPTCApplication record (38 bytes, string[0,32])
  | | SupplementalCategories = BKC
  | | - Tag 0x0014, IPTCApplication record (3 bytes, string[0,32])
  | | Keywords = BKC
  | | - Tag 0x0019, IPTCApplication record (3 bytes, string[0,64])
  | | Keywords = College Basketball
  | | - Tag 0x0019, IPTCApplication record (18 bytes, string[0,64])
  | | Keywords = FIU
  | | - Tag 0x0019, IPTCApplication record (3 bytes, string[0,64])
  | | Keywords = Florida International University
  | | - Tag 0x0019, IPTCApplication record (32 bytes, string[0,64])
  | | Keywords = Golden Panthers
  | | - Tag 0x0019, IPTCApplication record (15 bytes, string[0,64])
  | | Keywords = C-USA
  | | - Tag 0x0019, IPTCApplication record (5 bytes, string[0,64])
  | | Keywords = Conference USA
  | | - Tag 0x0019, IPTCApplication record (14 bytes, string[0,64])
  | | By-line = Richard Lewis
  | | - Tag 0x0050, IPTCApplication record (13 bytes, string[0,32])
  | | Credit = Richard Lewis / ImageReflex
  | | - Tag 0x006e, IPTCApplication record (27 bytes, string[0,32])
  | | Source = ImageReflex
  | | - Tag 0x0073, IPTCApplication record (11 bytes, string[0,32])
  | | Caption-Abstract = MIAMI, FL - NOVEMBER 27: View of the Arena during a college ba[snip]
  | | - Tag 0x0078, IPTCApplication record (287 bytes, string[0,2000])
  | | Headline = COLLEGE BASKETBALL: NOV 27 South Carolina at FIU
  | | - Tag 0x0069, IPTCApplication record (48 bytes, string[0,256])
  | | SpecialInstructions = EDITORIAL USE ONLY
  | | - Tag 0x0028, IPTCApplication record (18 bytes, string[0,256])
  | | CopyrightNotice = Copyright .. 2017, Richard Lewis / ImageReflex.  All Rights Reserved.
  | | - Tag 0x0074, IPTCApplication record (68 bytes, string[0,128])
  | | Sub-location = FIU Arena
  | | - Tag 0x005c, IPTCApplication record (9 bytes, string[0,32])
  | | Prefs = 0:0:0:000692
  | | - Tag 0x00dd, IPTCApplication record (12 bytes, string[0,64])
  | IPTCDigest = ........X..<A5..
  | - Tag 0x0425 (16 bytes)
  | PrintInfo2 = ...printOutput.PstSbool.InteenumInteClrm.printSixteenBitbool.printerNa[snip]
  | - Tag 0x043a (229 bytes)
  | PrintStyle = ...printOutputOptions.CptnboolClbrboolRgsMboolCrnCboolCntCboolLblsbool[snip]
  | - Tag 0x043b (557 bytes)
  | ResolutionInfo (SubDirectory) -->
  | - Tag 0x03ed (16 bytes)
  | + [BinaryData directory, 16 bytes]
  | | XResolution = 19660800
  | | - Tag 0x0000 (4 bytes, int32u[1])
  | | DisplayedUnitsX = 1
  | | - Tag 0x0002 (2 bytes, int16u[1])
  | | YResolution = 19660800
  | | - Tag 0x0004 (4 bytes, int32u[1])
  | | DisplayedUnitsY = 1
  | | - Tag 0x0006 (2 bytes, int16u[1])
  | PrintScaleInfo (SubDirectory) -->
  | - Tag 0x0426 (14 bytes)
  | + [BinaryData directory, 14 bytes]
  | | PrintStyle = 0
  | | - Tag 0x0000 (2 bytes, int16u[1])
  | | PrintPosition = 0 0
  | | - Tag 0x0002 (8 bytes, float[2])
  | | PrintScale = 1
  | | - Tag 0x000a (4 bytes, float[1])
  | GlobalAngle = .
  | - Tag 0x040d (4 bytes)
  | GlobalAltitude = .
  | - Tag 0x0419 (4 bytes)
  | PrintFlags = 0 0 0 0 0 0 0 0 1
  | - Tag 0x03f3 (9 bytes, int8u[9])
  | CopyrightFlag = .
  | - Tag 0x040a (1 bytes)
  | PrintFlagsInfo = ..
  | - Tag 0x2710 (10 bytes)
  | ColorHalftoningInfo = /ff.lff../ff......2.Z..5.-..
  | - Tag 0x03f5 (72 bytes)
  | ColorTransferFuncs = ..............................................................[snip]
  | - Tag 0x03f8 (112 bytes)
  | GridGuidesInfo = ..@.@
  | - Tag 0x0408 (16 bytes)
  | URL_List =
  | - Tag 0x041e (4 bytes)
  | SliceInfo (SubDirectory) -->
  | - Tag 0x041a (837 bytes)
  | + [BinaryData directory, 837 bytes]
  | | SlicesGroupName = _1RL0692
  | | - Tag 0x0014 (16 bytes, ustr32[16])
  | | NumSlices = 1
  | | - Tag 0x0018 (4 bytes, int32u[1])
  | PixelInfo (SubDirectory) -->
  | - Tag 0x0428 (12 bytes)
  | + [BinaryData directory, 12 bytes]
  | | PixelAspectRatio = 1
  | | - Tag 0x0004 (8 bytes, double[1])
  | IDsBaseValue = 2
  | - Tag 0x0414 (4 bytes, int32u[1])
  | PhotoshopThumbnail = ..p...%........Adobe_CM....Adobed.............................[snip]
  | - Tag 0x040c (9676 bytes)
  | VersionInfo (SubDirectory) -->
  | - Tag 0x0421 (85 bytes)
  | + [BinaryData directory, 85 bytes]
  | | HasRealMergedData = 1
  | | - Tag 0x0004 (1 bytes, int8u[1])
  | | WriterName = Adobe Photoshop
  | | - Tag 0x0005 (30 bytes, ustr32[30])
  | | ReaderName = Adobe Photoshop CS6
  | | - Tag 0x0009 (38 bytes, ustr32[38])
  | JPEG_Quality (SubDirectory) -->
  | - Tag 0x0406 (7 bytes)
  | + [BinaryData directory, 7 bytes]
  | | PhotoshopQuality = 6
  | | - Tag 0x0000 (2 bytes, int16s[1])
  | | PhotoshopFormat = 0
  | | - Tag 0x0001 (2 bytes, int16s[1])
  | | ProgressiveScans = 1
  | | - Tag 0x0002 (2 bytes, int16s[1])
JPEG APP1 (6728 bytes):
  + [XMP directory, 6699 bytes]
  | XMPToolkit = XMP Core 5.1.2
  | Lens = 16.0 mm f/2.8
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/aux:Lens'
  | LensInfo = 160/10 160/10 28/10 28/10
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/aux:LensInfo'
  | ImageNumber = 692
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/aux:ImageNumber'
  | Format = image/jpeg
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:format'
  | ColorMode = 3
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:ColorMode'
  | ICCProfileName = Adobe RGB (1998)
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:ICCProfile'
  | LegacyIPTCDigest = 005A44E212BF52F3968AE265F54941BD
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:LegacyIPTCDigest'
  | City = Miami
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:City'
  | State = Florida
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:State'
  | Country = USA
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Country'
  | Category = SPO
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Category'
  | Credit = Richard Lewis / ImageReflex
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Credit'
  | Source = ImageReflex
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Source'
  | Headline = COLLEGE BASKETBALL: NOV 27 South Carolina at FIU
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Headline'
  | Instructions = EDITORIAL USE ONLY
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Instructions'
  | DateCreated = 2017-11-27T19:44:32
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:DateCreated'
  | CreatorTool = Ver.1.00
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmp:CreatorTool'
  | MetadataDate = 2017-11-27T22:57:41-05:00
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmp:MetadataDate'
  | ModifyDate = 2017-11-27T22:57:41-05:00
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmp:ModifyDate'
  | CreateDate = 2017-11-27T19:44:32
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmp:CreateDate'
  | Rating = 0
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmp:Rating'
  | DocumentID = 5A968F09BCD43363B221E8FC5014D50C
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:DocumentID'
  | InstanceID = xmp.iid:9AC957C16A236811822AC9DFEA936F3B
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:InstanceID'
  | OriginalDocumentID = 5A968F09BCD43363B221E8FC5014D50C
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:OriginalDocumentID'
  | Marked = True
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpRights:Marked'
  | CountryCode = USA
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:CountryCode'
  | Location = FIU Arena
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:Location'
  | ColorClass = 0
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photomechanic:ColorClass'
  | Tagged = False
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photomechanic:Tagged'
  | Prefs = 0:0:0:000692
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photomechanic:Prefs'
  | PMVersion = PM5
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photomechanic:PMVersion'
  | Subject = BKC
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:subject/rdf:Bag/rdf:li 10'
  | Subject = College Basketball
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:subject/rdf:Bag/rdf:li 11'
  | Subject = FIU
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:subject/rdf:Bag/rdf:li 12'
  | Subject = Florida International University
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:subject/rdf:Bag/rdf:li 13'
  | Subject = Golden Panthers
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:subject/rdf:Bag/rdf:li 14'
  | Subject = C-USA
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:subject/rdf:Bag/rdf:li 15'
  | Subject = Conference USA
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:subject/rdf:Bag/rdf:li 16'
  | Description = MIAMI, FL - NOVEMBER 27: View of the Arena during a college basketbal[snip]
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li 10'
  | Creator = Richard Lewis
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:creator/rdf:Seq/rdf:li 10'
  | Title = Arena(RL_171127_1RL0692).jpg
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:title/rdf:Alt/rdf:li 10'
  | Rights = Copyright .. 2017, Richard Lewis / ImageReflex.  All Rights Reserved.
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:rights/rdf:Alt/rdf:li 10'
  | SupplementalCategories = Basketball
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:SupplementalCategories/rdf:Bag/rdf:li 10'
  | SupplementalCategories = Florida International University / FIU
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:SupplementalCategories/rdf:Bag/rdf:li 11'
  | SupplementalCategories = BKC
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:SupplementalCategories/rdf:Bag/rdf:li 12'
  | HistoryAction = saved
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 10/stEvt:action'
  | HistoryChanged = /
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 10/stEvt:changed'
  | HistoryInstanceID = xmp.iid:99C957C16A236811822AC9DFEA936F3B
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 10/stEvt:instanceID'
  | HistorySoftwareAgent = Adobe Photoshop CS6 (Macintosh)
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 10/stEvt:softwareAgent'
  | HistoryWhen = 2017-11-27T22:57:41-05:00
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 10/stEvt:when'
  | HistoryAction = saved
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 11/stEvt:action'
  | HistoryChanged = /
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 11/stEvt:changed'
  | HistoryInstanceID = xmp.iid:9AC957C16A236811822AC9DFEA936F3B
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 11/stEvt:instanceID'
  | HistorySoftwareAgent = Adobe Photoshop CS6 (Macintosh)
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 11/stEvt:softwareAgent'
  | HistoryWhen = 2017-11-27T22:57:41-05:00
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpMM:History/rdf:Seq/rdf:li 11/stEvt:when'
  | UsageTerms = FOR EDITORIAL USE ONLY
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpRights:UsageTerms/rdf:Alt/rdf:li 10'
  | CreatorWorkTelephone = 305-423-9593
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:CreatorContactInfo/Iptc4xmpCore:CiTelWork'
  | CreatorWorkEmail = slewis@imagereflex.com
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:CreatorContactInfo/Iptc4xmpCore:CiEmailWork'
  | CreatorWorkURL = www.imagereflex.com
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:CreatorContactInfo/Iptc4xmpCore:CiUrlWork'
JPEG APP2 (574 bytes):
  ICC_Profile chunk 1 of 1
  + [ICC_Profile directory with 10 entries, 560 bytes]
  | ProfileHeader (SubDirectory) -->
  | + [BinaryData directory, 128 bytes]
  | | ProfileCMMType = ADBE
  | | - Tag 0x0004 (4 bytes, string[4])
  | | ProfileVersion = 528
  | | - Tag 0x0008 (2 bytes, int16s[1])
  | | ProfileClass = mntr
  | | - Tag 0x000c (4 bytes, string[4])
  | | ColorSpaceData = RGB
  | | - Tag 0x0010 (4 bytes, string[4])
  | | ProfileConnectionSpace = XYZ
  | | - Tag 0x0014 (4 bytes, string[4])
  | | ProfileDateTime = 1999 6 3 0 0 0
  | | - Tag 0x0018 (12 bytes, int16u[6])
  | | ProfileFileSignature = acsp
  | | - Tag 0x0024 (4 bytes, string[4])
  | | PrimaryPlatform = APPL
  | | - Tag 0x0028 (4 bytes, string[4])
  | | CMMFlags = 0
  | | - Tag 0x002c (4 bytes, int32u[1])
  | | DeviceManufacturer = none
  | | - Tag 0x0030 (4 bytes, string[4])
  | | DeviceModel =
  | | - Tag 0x0034 (4 bytes, string[4])
  | | DeviceAttributes = 0 0
  | | - Tag 0x0038 (8 bytes, int32u[2])
  | | RenderingIntent = 0
  | | - Tag 0x0040 (4 bytes, int32u[1])
  | | ConnectionSpaceIlluminant = 0.9642 1 0.82491
  | | - Tag 0x0044 (12 bytes, fixed32s[3])
  | | ProfileCreator = ADBE
  | | - Tag 0x0050 (4 bytes, string[4])
  | | ProfileID = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  | | - Tag 0x0054 (16 bytes, int8u[16])
  | 0)  ProfileCopyright = Copyright 1999 Adobe Systems Incorporated
  |     - Tag 'cprt' (50 bytes, type 'text')
  | 1)  ProfileDescription = Adobe RGB (1998)
  |     - Tag 'desc' (107 bytes, type 'desc')
  | 2)  MediaWhitePoint = 0.95045 1 1.08905
  |     - Tag 'wtpt' (20 bytes, type 'XYZ ')
  | 3)  MediaBlackPoint = 0 0 0
  |     - Tag 'bkpt' (20 bytes, type 'XYZ ')
  | 4)  RedTRC = curv..3
  |     - Tag 'rTRC' (14 bytes, type 'curv')
  | 5)  GreenTRC = curv..3
  |     - Tag 'gTRC' (14 bytes, type 'curv')
  | 6)  BlueTRC = curv..3
  |     - Tag 'bTRC' (14 bytes, type 'curv')
  | 7)  RedMatrixColumn = 0.60974 0.31111 0.01947
  |     - Tag 'rXYZ' (20 bytes, type 'XYZ ')
  | 8)  GreenMatrixColumn = 0.20528 0.62567 0.06087
  |     - Tag 'gXYZ' (20 bytes, type 'XYZ ')
  | 9)  BlueMatrixColumn = 0.14919 0.06322 0.74457
  |     - Tag 'bXYZ' (20 bytes, type 'XYZ ')
JPEG APP14 (12 bytes):
  + [BinaryData directory, 7 bytes]
  | DCTEncodeVersion = 100
  | - Tag 0x0000 (2 bytes, int16u[1])
  | APP14Flags0 = 16384
  | - Tag 0x0001 (2 bytes, int16u[1])
  | APP14Flags1 = 0
  | - Tag 0x0002 (2 bytes, int16u[1])
  | ColorTransform = 1
  | - Tag 0x0003 (1 bytes, int8u[1])
JPEG DQT (130 bytes):
JPEG SOF0 (15 bytes):
  ImageWidth = 3000
  ImageHeight = 2100
  EncodingProcess = 0
  BitsPerSample = 8
  ColorComponents = 3
JPEG DRI (2 bytes):
JPEG DHT (416 bytes):
JPEG SOS
Copyright Notice                : Copyright © 2017, Richard Lewis / ImageReflex.  All Rights Reserved.
Rights                          : Copyright © 2017, Richard Lewis / ImageReflex.  All Rights Reserved.
Creator                         : Richard Lewis
Credit                          : Richard Lewis / ImageReflex
By-line                         : Richard Lewis

Phil Harvey

Leave off the -v2 as well, and add -a -G1

Or just upload the image somewhere so we can run your command on it.

- 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 ($).

imagereflex

I'm sorry for the delay, but I've finally found the time to dig bag into this issue.  It turns out that ExifTool does not like my file naming scheme.  When presented with characters like parenthesis in the file name (e.g., "(", ")", etc.), ExifTool seems to treat the file as an unrecognized file.  Running the same command on a file without any odd characters works, and ExifTool can eliminate the metadata in the fields to be cleaned.

Is there some trick to getting ExifTool to work with file names containing odd characters?

Phil Harvey

ExifTool doesn't care about the characters in your file, but the command shell you are using might.  Try putting quotes around it (double quotes in Windows, single quotes on Mac).

- 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 ($).