Popular recipes by Juan Carlos Leon http://code.activestate.com/recipes/users/98057/2001-04-05T09:41:41-07:00ActiveState Code RecipesRoadRunner: recursively updates the contents of a directory tree. (Python) 2001-04-05T09:41:41-07:00Juan Carlos Leonhttp://code.activestate.com/recipes/users/98057/http://code.activestate.com/recipes/52553-roadrunner-recursively-updates-the-contents-of-a-d/ <p style="color: grey"> Python recipe 52553 by <a href="/recipes/users/98057/">Juan Carlos Leon</a> (<a href="/recipes/tags/files/">files</a>). </p> <p>This recipe allows you to update desired files in a directory tree. It needs to be run from the shell. Once you run it, it will ask you for: a) the "string" you want to insert in the file b) the extension of the files to update e.g: .html c) a regular expresion ( where you want the string to be inserted ) and d) the path of the directory where you want this update to occur.</p>