# Change modified date of each photo to the actual shooting time

**URL:** https://resource.dopus.com/t/change-modified-date-of-each-photo-to-the-actual-shooting-time/33416
**Category:** Help & Support
**Created:** [September 1, 2019, 3:37pm UTC](https://resource.dopus.com/t/change-modified-date-of-each-photo-to-the-actual-shooting-time/33416 "2019-09-01T15:37:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dwilbank](https://resource.dopus.com/letter_avatar_proxy/v4/letter/d/898d66/32.png) [@dwilbank](https://resource.dopus.com/u/dwilbank)
#### Post date: [September 1, 2019, 3:37pm UTC](https://resource.dopus.com/t/change-modified-date-of-each-photo-to-the-actual-shooting-time/33416/1 "2019-09-01T15:37:27Z")

</div>

Hello sirs,

My goal is to copy the Shooting Time metadata and paste it into the Modified Time of each selected file.  
I ran a variant of the script that Leo created here in 2008

> [@Changing Modified Date to Shooting Time?](https://resource.dopus.com/t/changing-modified-date-to-shooting-time/6415/4):
>
> Thanks John, not quite what I was looking for, found another program, AttributeMagic this seems to work great although I think their column headings/definitions are wrong but you can work it out. Still it only does 20 items at a time and costs $25 to…

**SetAttr META modifydate:datetaken**

and got Metadata parsing error

so I look here

[https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Programmatic\_setting\_of\_Metadata.htm](https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Programmatic_setting_of_Metadata.htm)

but there is nothing about datetaken or modifydate

what I missing?

---

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [September 1, 2019, 5:45pm UTC](https://resource.dopus.com/t/change-modified-date-of-each-photo-to-the-actual-shooting-time/33416/2 "2019-09-01T17:45:25Z")

</div>

The keywords are slightly different:

> You can also copy the values from another date field by specifying the other field's name: createdate, lastmodifieddate, datedigitized or datetaken.

[https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Keywords\_for\_SetAttr\_META.htm](https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Keywords_for_SetAttr_META.htm)

---

<div class="post-metadata">

### Author: ![dwilbank](https://resource.dopus.com/letter_avatar_proxy/v4/letter/d/898d66/32.png) [@dwilbank](https://resource.dopus.com/u/dwilbank)
#### Post date: [September 3, 2019, 1:49pm UTC](https://resource.dopus.com/t/change-modified-date-of-each-photo-to-the-actual-shooting-time/33416/3 "2019-09-03T13:49:35Z")

</div>

got it working now  
thanks sir!
