![]() Two '%' signs, one which escapes the other. Notice that some of the parameters in the expression supplied to '-d' require Note that DateTimeOriginal, which we set earlier, is used to determine It's not difficult to move rather thanĬopy. These examples will reorganize photos by placing copies of the originals intoĪ new directory structure with the following overall format: ![]() find " $PHOTODIR " -name \*_original -delete Prefer to do this as a separte step, after I have a chance to examine the It is possible to tell exiftool to remove any _original files, but I ![]() For example, if foo.jpg is modified,Ä®xiftool will leave in its wake two files: foo.jpg and Initial name of the original file and the original file will have If either of the previous steps modify a file, the modified file will have the The following corrects any such illogical dates: exiftool -r -if '($FileModifyDate lt $DateTimeOriginal)' \ '-DateTimeOriginalif a GPS time is available, it is used. My scheme for determining DateTimeOriginal follows.ÄateTimeOriginal is initially set to time the image file was created, as With exiftool, the most recent valid tag assignment is the final value of FileCreateDate is apparently the Windows equivalent. ![]() Otherwise, exiftool will return file not foundÄ®rrors. Be aware that the driveĬontaining the images must be indexed by Spotlight for any of the MDItem Note that MDItemFSCreationDate is macOS-specific. MDItemFSCreationDate, GPSDateTime, and CreateDate. Of possible dates, in increasing order of desireability (for my purposes) are: If DateTimeOriginal does not exist, where will a date come from? Sources ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |