Lightnings taking a ride

by ceinmart

submit your photo

Hall of Fame
View past winners from this year

Please participate in Meta
and help us grow.

Tag Info

New answers tagged


You didn't mention what OS you're using, but in a Windows Powershell you could do something like this: exiftool -filename -fileorder datetimeoriginal DIR | select -first 2 -last 4


You could use a checksum, but storing that in the file is problematic. A separate SHA1 file in the directory with the files can be used for detecting corruption. It will also detect edits. If you make the files read-only after copying them to the directory, it will make sure you don't trivially save over them.


It can be done with Exiftool. The answer is similar to this post except you replace Directory with Filename. But then you have the same problem as listed in that post. What is the exact tag you want to write to and how are you going to handle the time portion of the tag.


(i.e. sort by shooting date and show oldest and newest images' name of file) ? then look at the top and bottom entries in the sort.


No, whoever modified the file can also modify the file modification date and all the EXIF data. Also the file modification /creation date can be reset by e-mailing it or downloading it from the web. Basically, if whoever gave you the file want to hide the modification exiftool is not powerful enough to help (and if the modification isnt hidden just asking ...


There is an exif tag for modify date; I am not exactly sure what triggers it, but I think it's any modification of exif (not IPTC, XMP, MakerNotes) data. There are lots of dates associated with an image file. You could compare any or all of them. Just do "exiftool -G" on an image and then look around for dates.


Using Exiftool in this manner will not change any of the metadata inside the file. Depending upon the filesystem, some of the filesystem based items (System:All tags in Exiftool) may change, such as FileCreationDateTime but these would change anyway no matter how you moved them.


Basically, the command would be something like this ExifTool "-TAG<Directory" <DIR or FILE> assuming that the directory structure is numeric e.g. 2015/07/04 But there may be problems depending upon the exact tag you want to use. Many date/time tags require a time as well as a date and I believe all the EXIF date/time tags fall into this category. ...

Top 50 recent answers are included