guido van rossum hoaufpythonorg sounds like neat little feature looking forward maybe useful use case would provide globstyle patterns skipping files directories contents guido thu apr 17 2008 952 tarek ziadé wrote hi shutilcopytree convenient make recursive copies oswalk used everytime filtering done files copied want avoid copying files code pattern oswalk pretty talkative copying source folder target folder pycpyo files osmkdirtarget root dirs filenames oswalksource root_target rootreplacesource target dir_ dirs target_dir joinroot_target dir_ ospathexiststarget_dir continue osmkdirtarget_dir filename filenames filename_source joinroot filename filename_target joinroot_target filename ospathexistsfilename_target ospathsplitextfilename pyc pyo continue shutilcopyfilefilename_source filename_target could provide callable argument shutilcopytree would allow simplifying lot code copying source target pycpyo file def filteringsource target return ospathsplitextfilename pyc pyo shutilcopytreesource target filter_filtering current pattern code think could interesting enhancement shutil people think good idea work patch submit tracker regards tarek tarek ziadé association afpy wwwafpyorg blog fr httpprogrammationpythonorg blog en httptarekziadewordpresscom _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevguido40pythonorg guido van rossum home page httpwwwpythonorgguido _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 124135 0700 pythondev smarter shutilcopytree