[Python-ideas] Add shutil.ignore_patterns() to shutil.rmtree()
George Fischhof
george at fischhof.hu
Fri May 5 03:58:15 EDT 2017
Hi Folks,
I have a task to synchronize folders but some files should be remained
untouched.
I think this is a very common task.
I found that shutil.copytree() has ignore_patterns() but rmtree() has not.
So here comes my idea: add ignore_patterns() to rmtree() it is a good
feature and makes the functions symmetric.
BR,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170505/0e294e4a/attachment.html>
More information about the Python-ideas
mailing list