[issue8395] shutil.copytree() add a copy_func parameter.

2010-04-20 Thread Tarek Ziadé
Tarek Ziadé added the comment: I have just added this feature yesterday, see #1540112. Thanks! -- resolution: -> duplicate status: open -> closed superseder: -> Allow choice of copy function in shutil.copytree ___ Python tracker

[issue8395] shutil.copytree() add a copy_func parameter.

2010-04-14 Thread Ray.Allen
Ray.Allen added the comment: Thanks for your help! I see the 'ignore' parameter, but I need not just ignore some file, but also treat some file totally differently, for example, changing file name, or replace some text in the destination file. --

[issue8395] shutil.copytree() add a copy_func parameter.

2010-04-14 Thread Tarek Ziadé
Tarek Ziadé added the comment: Have you seen the ignore option ? You can use it to filter out some files. See the doc and the examples in docs.python.org -- assignee: -> tarek ___ Python tracker

[issue8395] shutil.copytree() add a copy_func parameter.

2010-04-14 Thread R. David Murray
Changes by R. David Murray : -- nosy: +tarek priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8395] shutil.copytree() add a copy_func parameter.

2010-04-13 Thread Ray.Allen
New submission from Ray.Allen : The shutil.copytree() function copies the whole tree recursively, and copy one single regular file with copy2(). I hope it can be more powerful(), that is, allow specifying a customerized copy function, rather than copy2(). To be specific, add an optional keywor