write tag, but not work

Started by elvis-exif, April 15, 2021, 09:01:00 AM

Previous topic - Next topic

elvis-exif

I want to write empty string to title tag, but not work.

exiftool -xmp:t* .\0011.jpg
Title                           : Room

exiftool -xmp:t*^= .\0011.jpg
1 image files updated

exiftool -xmp:t* .\0011.jpg
# nothing

Phil Harvey

This works perfectly for me on MacOS with the latest version of ExifTool if I quote the arguments in your command.

What O/S and ExifTool version are you running?

- 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

If on Windows using CMD/batch file, it does need to be quoted because the caret ^ character is an escape character.  PowerShell doesn't need quoting.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

elvis-exif

#3

ver
Microsoft Windows [Version 10.0.18362.1256]
exiftoo -ver
12.23

exiftool "-xmp:title^=" .\0011.jpg
1 image files updated

exiftool -xmp:title .\0011.jpg
Title                           :

exiftool -restore_original .\0011.jpg

exiftool "-xmp:all^=" .\0011.jpg
No URI for namespace prefix !
No URI for namespace prefix !
No URI for namespace prefix !
    0 image files updated
    1 image files unchanged


What are formatting for URI namespace prefix?
Take a example for me please.

Phil Harvey

You're really stressing ExifTool.  I've never tried this (and I never imagined that any sane person would).

You've found a bug in ExifTool that will be fixed in version 12.25.

Thanks for pointing this out.

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