[Python-ideas] Add shutil.ignore_patterns() to shutil.rmtree()

Oleg Broytman phd at phdru.name
Fri May 5 13:01:48 EDT 2017


On Fri, May 05, 2017 at 04:50:07PM +0200, George Fischhof <george at fischhof.hu> wrote:
> yes, something like that ... ;-) but I use windows, and I want the feature
> in Python, with a simple and elegant way (1-2 commands)
> 
> 2017-05-05 16:14 GMT+02:00 Oleg Broytman <phd at phdru.name>:
> 
> > On Fri, May 05, 2017 at 03:55:37PM +0200, George Fischhof <
> > george at fischhof.hu> wrote:
> > > Actually it would be good if copytree() would be able to overwrite files
> > > and directories.
> >
> >    Seems you want rsync, no?

   I can understand the need but I don't think such a library/script
should be in stdlib.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-ideas mailing list