![]() Two commands to rule them call (or TL DR) With ExifTool thatâs surprisingly simple - the schema is exiftool "-METADATA_NAME1 ![]() So now we want to move data from âDateTimeOriginalâ to âFileModifyDateâ. Itâs not based on EXIF âDateTimeOriginalâ, but on another metadata: âFileModifyDateâ. Fixing âDate CreatedâÄ«ut that doesnât change fileâs âDate Createdâ. For my that was groundbreaking discovery. That solves the problem with timezones - to move all images in directory two timezones ahead/back you can just do exiftool "-DateTimeOriginal-=1" *. If IMAGE had time set to 10:54 it will be changed to 11:54. so exiftool "-DateTimeOriginal-=1" IMAGE changes EXIF time to one hour ahead. Thus doing exiftool "-DateTimeOriginal+=1" IMAGE will change âDateTimeOriginalâââ to âDateTimeOriginal + 1â and â+ 1â is interpreted as increased by one hour. Analogically, you can do â-=Xâ which means variable =- X.įor example, Date is numerical data. modifying numerical data can be done with â+=Xâ - assign value to itself but incremented by X.Reading one piece of metadata: exiftool -MATADATA_NAME IMAGE, in our case that might be exiftool -DateTimeOriginal IMAGE. ![]() Reading metadata that prints it in format ready for use in next commands of ExifTool: exiftool -read-Tags -args IMAGE.Reading all metadata (probably more than you expect) exiftool -read-Tags IMAGE.IMAGE - for brevity - means path to image file, can be also with wildcards, so all images in directory would be written as â*â It was written in Perl, which makes it even more impressive.Ī lot of things can be done with ExifTool so letâs focus on stuff I care about the most and go through it step by step: I present to you THE ALMIGHTY, EXCELLENT, SUPREME⦠EXIFTOOLÄ®xifTool is awesome, it is command line tool to âRead, Write and Edit Meta Information!â. Thing that took me a lot of time with different methods could be done with one simple command. Thatâs why I decided to solve this issue on my own - saving money and learning something at the same time! Also easy and free way - command line move time a few hours forward or backward. I want to change timezone in photo, i.e.I want to take date and time from EXIF info and put it into file info, that would make MacOS understand it.They might be really good and do a lot of stuff but I want two very simple things: There are some (potentially) pretty good paid options, like âA Better Finder Attributesâ (my personal favorite), âSetEXIFDataâ, âPhoto Exifierâ, âExif Syncâ. And I donât want to be limited to Photos (or even Mac) for going through my pictures. The issue is - I couldnât see this change with filesystem (Finder). Moving timezones is indeed easy when you use Appleâs Photos app. Videos from phone - I donât know why but videos from my phone sometimes have incorrect time set in EXIF data, even though name of the file (which contains time as well) is correct.Īd 2. ![]() But still I think fixing this (moving timezones) should be much easier. This one is of course user error, there is nothing wrong with Mac here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |