Popular recipes tagged "date" and "files" but not "babble" and "jpg"http://code.activestate.com/recipes/tags/-babble+date+files-jpg/2010-07-30T10:00:25-07:00ActiveState Code RecipesRedate source files using SVN info from $Id:$ (Python)
2010-07-30T10:00:25-07:00Michal Niklashttp://code.activestate.com/recipes/users/186902/http://code.activestate.com/recipes/577341-redate-source-files-using-svn-info-from-id/
<p style="color: grey">
Python
recipe 577341
by <a href="/recipes/users/186902/">Michal Niklas</a>
(<a href="/recipes/tags/date/">date</a>, <a href="/recipes/tags/datetime/">datetime</a>, <a href="/recipes/tags/file/">file</a>, <a href="/recipes/tags/files/">files</a>, <a href="/recipes/tags/svn/">svn</a>).
</p>
<p>Iterates through a directory, reading the data from svn info that looks like:</p>
<pre class="prettyprint"><code>$Id: svn_redater.py 747 2010-07-30 09:56:08Z mn $
</code></pre>
<p>from source files.</p>
<p>Parses the datetime from svn info and if it differs from file
modification datetime then changes file datetime</p>