Hi!
Yesterday I noticed that the modified time on photos copied to my computer from a memory card was two hours off. I checked photos copied to the computer before I upgraded to Mint 18 and there the time is correct. I had a search on Google and I think the bottom line is some bug (not in Mint itself) which makes the system assume that timestamps is in UTC on the fat-formatted card and thus compensating for that to CEST.
I found this "solution":
https://forums.linuxmint.com/viewtopic.php?t=234372
But this feels more like a workaround than a solution and when I entered the suggested command (timedatectl set-local-rtc 1) I got a warning that having the the system clock at local time wasn't fully supported (or something of that sort), so I reverted to the original setting.
I later found this workaround on some site that mounts cards with a time offset:
Quote:
mount -t vfat -o iocharset=utf8,time_offset=$((`date +%:z|sed -r 's/^(.)0?(.*):0?/\1\2*60\1/'`)) "$@"
|
This works, but is a bit of a pain, since I have to unmount the card first.
So, I have three questions.
1. Is there a hope for an update that will fix this issue?
2. What would be the best solution/workaround in the meantime?
3. Since I have rather a few photos that I've copied to the computer before I discovered the problem I have an idea of writing a script that reads the time/date in the EXIF-info of all the files in a folder and then updates the file times/dates with touch. But I think I need some tool to read the EXIF-info and my knowledge of scripting in Linux is close to zero. So I hope maybe someone could help me in the right direction
Thank you!