It should be interesting to add new funcionality to "copytree" function into a "shutil.py" module?, I mean...I have developed a very silly function "copytree" with a different fourth argument. I have modified the "ignore" parameter to "target" parameter; this new one is used to copy the files wich matched with the given pattern. Basically, the opposite of the current "copytree".
Maybe were a stupid idea but I throw it anyway. Thanks in advance. Logan!! PS: def copytree(src, dst, symlinks=False, target=None) def target_patterns(*patterns)
-- http://mail.python.org/mailman/listinfo/python-list