New submission from Tarek Ziadé <[EMAIL PROTECTED]>: Here's a first draft of a small addon to shutil.copytree.
This patch allows excluding some folders or files from the copy, given glob-style patterns. A callable can also be provided instead of the patterns, for a more complex filtering. I didn't upgrade Doc/shutil.rst yet in this patch, as this can be done when the change will be accepted and in its final shape I guess. ---------- components: Library (Lib) files: shutil.copytree.filtering.patch keywords: patch messages: 65652 nosy: tarek severity: normal status: open title: shutil.copytree glob-style filtering [patch] type: feature request versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file10066/shutil.copytree.filtering.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2663> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com