Popular recipes by shawn http://code.activestate.com/recipes/users/4175099/2010-09-28T19:01:24-07:00ActiveState Code RecipesRecoursive File Moving (Python)
2010-09-28T19:01:24-07:00shawnhttp://code.activestate.com/recipes/users/4175099/http://code.activestate.com/recipes/577411-recoursive-file-moving/
<p style="color: grey">
Python
recipe 577411
by <a href="/recipes/users/4175099/">shawn</a>
(<a href="/recipes/tags/files/">files</a>, <a href="/recipes/tags/recursion/">recursion</a>).
Revision 3.
</p>
<p>This script is placed in a location then run. All files underneath the root will be propagated to the top level, while deleting any old directory's.</p>
<p>Problems: If you have large files in nested folders you will be copying them multiple times.</p>
<p>p.s. shoulda used walk() but i'm newb</p>