Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp exif renaming error #126

Open
andreaseberharter opened this issue Jul 20, 2020 · 0 comments
Open

Timestamp exif renaming error #126

andreaseberharter opened this issue Jul 20, 2020 · 0 comments

Comments

@andreaseberharter
Copy link

Hey, first thanks for this great tool!

I noticed some strange renaming and could not figure out what the problem could be and how to solve it. But it messes with the filenames of the pictures.

I have a pictures with the following exif data:
{ "SourceFile": "/Volumes/1TB/_INPUT_/2015/07/09/20150709-004718/4P1B8404.JPG", "File:FileModifyDate": "2015:07:08 20:38:18+01:00", "File:FileAccessDate": "2020:07:20 17:13:29+01:00", "File:FileInodeChangeDate": "2017:10:30 18:27:52+00:00", "EXIF:ModifyDate": "2015:07:08 20:38:19", "EXIF:DateTimeOriginal": "2015:07:08 20:38:19", "EXIF:CreateDate": "2015:07:08 20:38:19", "MakerNotes:TimeZone": "+00:00", "MakerNotes:TimeZoneCity": "Azores", "MakerNotes:DaylightSavings": "On", "EXIF:SubSecTime": "00", "EXIF:SubSecTimeOriginal": "00", "EXIF:SubSecTimeDigitized": "00", "Composite:SubSecCreateDate": "2015:07:08 20:38:19.00", "Composite:SubSecDateTimeOriginal": "2015:07:08 20:38:19.00", "Composite:SubSecModifyDate": "2015:07:08 20:38:19.00" },

which is being moved / renamed to the final location like this:

sortphotos --keep-filename --recursive --sort %Y/%m-%b_%y --rename %Y-%m-%d_%H%M%S /INPUT/ /SORTED/

When executing the script everything seems fine, but on renaming it changes the timestamp:

Source: /INPUT/4P1B8404.JPG Date/Time: 2015-07-08 19:38:18 Corresponding Tags: File:FileModifyDate Destination (move): /SORTED/07-Jul_15/2015-07-08_193818.jpg

I suppose it is related to the TimeZoneCity, but how can this be turned off and what is the original timestamp? Because Finder is displaying the time without timezone adjustments.

Screenshot 2020-07-20 at 17 37 59

Any explanation and how to work around that? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant