Top-rated recipes tagged "modification_date"http://code.activestate.com/recipes/tags/modification_date/top/2009-06-29T03:06:01-07:00ActiveState Code RecipesRedate pictures with EXIF (Python)
2009-06-29T03:06:01-07:00Ivan Koblikhttp://code.activestate.com/recipes/users/4168407/http://code.activestate.com/recipes/576822-redate-pictures-with-exif/
<p style="color: grey">
Python
recipe 576822
by <a href="/recipes/users/4168407/">Ivan Koblik</a>
(<a href="/recipes/tags/creation_date/">creation_date</a>, <a href="/recipes/tags/date/">date</a>, <a href="/recipes/tags/exif/">exif</a>, <a href="/recipes/tags/modification_date/">modification_date</a>, <a href="/recipes/tags/picture/">picture</a>, <a href="/recipes/tags/video/">video</a>).
Revision 2.
</p>
<p>Reads creation date from EXIF picture/video file header, and sets it to the file's creation and modification dates. This script differs from other recipes in its ability to work with the creation date in Windows.
The script depends on several libraries: Win32 Extensions, pyexif, exif. <a href="http://koblik.blogspot.com/2009/06/exif-with-python.html">Here's</a> description of what they do and where to get them.</p>