Author Topic: changing exif date doen't work (mac)  (Read 202 times)

Av123Av123

  • Newbie
  • *
  • Posts: 4
changing exif date doen't work (mac)
« on: July 31, 2020, 09:52:41 AM »
Hi guys,

Im trying to change a bunch of modification dates for images based on their name, formatted like "2015-11-04 19 41 14 - xxxx..."

i tried using different commands but it didn't change anything..

Code: [Select]
  exiftool "-DateTimeOriginal<Filename" ./
Code: [Select]
exiftool "-alldates<filename" −overwrite_original ./
What am I doing wrong?
Thanks in advance,

dae65

  • Full Member
  • ***
  • Posts: 77
Re: changing exif date doen't work (mac)
« Reply #1 on: July 31, 2020, 10:18:46 AM »
What does this command print?

Code: [Select]
$ mount | grep -w home

Av123Av123

  • Newbie
  • *
  • Posts: 4
Re: changing exif date doen't work (mac)
« Reply #2 on: July 31, 2020, 10:19:54 AM »
1 directories scanned
30 images updated

:(

dae65

  • Full Member
  • ***
  • Posts: 77
Re: changing exif date doen't work (mac)
« Reply #3 on: July 31, 2020, 10:22:55 AM »
Right, but please execute this: mount | grep -w home on the command line, and tell us what that command prints.

Av123Av123

  • Newbie
  • *
  • Posts: 4
Re: changing exif date doen't work (mac)
« Reply #4 on: July 31, 2020, 10:26:09 AM »
it printed
map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3951
Re: changing exif date doen't work (mac)
« Reply #5 on: July 31, 2020, 10:54:16 AM »
Are you using exiftool to verify that the timestamp didn't change or are you using something else.  Run this command to see all the time related tags
exiftool -time:all -G1 -a -s /path/to/files/

If you are using some other program to check the times, then this is FAQ #3.

Note that the AllDates tag is only a shortcut to the three most common embedded timestamps, CreateDate, DateTimeOriginal, and ModifyDate.  It does not change other timestamps such as the file system's FileModifyDate.

And when you post output, just copy/paste it and use the code button above the text box.  It easier to deal with than a screen shot.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

dae65

  • Full Member
  • ***
  • Posts: 77
Re: changing exif date doen't work (mac)
« Reply #6 on: July 31, 2020, 10:56:27 AM »
it printed
map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)
Sorry, my hypothesis turned out false. I thought your home partition was mounted with modification timestamps unset. Thanks.

Av123Av123

  • Newbie
  • *
  • Posts: 4
Re: changing exif date doen't work (mac)
« Reply #7 on: August 03, 2020, 10:31:53 AM »
Oh I see my mistake
It worked!
thanks..