seqental change $datetimeoriginal error

Started by BeTePoK, November 13, 2023, 03:04:56 AM

Previous topic - Next topic

BeTePoK

I would like seqental change $datetimeoriginal, but i have error.

I do the following-
exiftool.exe -datetimeoriginal="2004:09:01 12:00:00" DIR

next -
exiftool.exe "-datetimeoriginal+<0:$filesequence" DIR

response:
exiftool.exe : Warning: No writable tags set from IMG_20040901_1.jpg
+ exiftool.exe "-datetimeoriginal+<0:$ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Warning: No wri...0901_1.jpg:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

Warning: Invalid tag name '0:'. Use '=' not '<' to assign a tag value - IMG_20040901_2.jpg
Warning: No writable tags set from IMG_20040901_2.jpg

OS: Win11

Phil Harvey

If you are running in PowerShell you need single quotes instead of double quotes.

- 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

With PowerShell, you need to pay attention to the highlighting of the options. See this post.

If you have further problems, you might want to switch to CMD, as PS has a lot of idiosyncrasies when compared to other command lines.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).