ExifTool Forum

ExifTool => Newbies => Topic started by: Av123Av123 on July 31, 2020, 09:52:41 AM

Title: changing exif date doen't work (mac)
Post by: Av123Av123 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..

  exiftool "-DateTimeOriginal<Filename" ./
exiftool "-alldates<filename" −overwrite_original ./

What am I doing wrong?
Thanks in advance,
Title: Re: changing exif date doen't work (mac)
Post by: dae65 on July 31, 2020, 10:18:46 AM
What does this command print?

$ mount | grep -w home
Title: Re: changing exif date doen't work (mac)
Post by: Av123Av123 on July 31, 2020, 10:19:54 AM
1 directories scanned
30 images updated

:(
Title: Re: changing exif date doen't work (mac)
Post by: dae65 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.
Title: Re: changing exif date doen't work (mac)
Post by: Av123Av123 on July 31, 2020, 10:26:09 AM
it printed
map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse)
Title: Re: changing exif date doen't work (mac)
Post by: StarGeek 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 (https://exiftool.org/faq.html#Q3).

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 (https://exiftool.org/forum/Themes/default/images/bbc/code.gif) above the text box.  It easier to deal with than a screen shot.
Title: Re: changing exif date doen't work (mac)
Post by: dae65 on July 31, 2020, 10:56:27 AM
Quote from: Av123Av123 on July 31, 2020, 10:26:09 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.
Title: Re: changing exif date doen't work (mac)
Post by: Av123Av123 on August 03, 2020, 10:31:53 AM
Oh I see my mistake
It worked!
thanks..