@@ -0,0 +1,318 @@
+import shutil%0A%0Adef safecopytree(srcDir, dstDir):%0A    copy2orig = shutil.copy2%0A%0A    def safecopy(src, dst):%0A        try:%0A            copy2orig(src, dst)%0A        except Exception as e:%0A            print e%0A%0A    shutil.copy2 = safecopy%0A    shutil.copytree(srcDir, dstDir)%0A    shutil.copy2 = copy2orig%0A%0Adef main():%0A    pass

add copytree