<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">2017. máj. 5. du. 7:02 ezt írta ("Oleg Broytman" <<a href="mailto:phd@phdru.name">phd@phdru.name</a>>):<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Fri, May 05, 2017 at 04:50:07PM +0200, George Fischhof <<a href="mailto:george@fischhof.hu">george@fischhof.hu</a>> wrote:<br>
> yes, something like that ... ;-) but I use windows, and I want the feature<br>
> in Python, with a simple and elegant way (1-2 commands)<br>
><br>
> 2017-05-05 16:14 GMT+02:00 Oleg Broytman <<a href="mailto:phd@phdru.name">phd@phdru.name</a>>:<br>
><br>
> > On Fri, May 05, 2017 at 03:55:37PM +0200, George Fischhof <<br>
> > <a href="mailto:george@fischhof.hu">george@fischhof.hu</a>> wrote:<br>
> > > Actually it would be good if copytree() would be able to overwrite files<br>
> > > and directories.<br>
> ><br>
> > Seems you want rsync, no?<br>
<br>
</div> I can understand the need but I don't think such a library/script<br>
should be in stdlib.<br>
<div class="elided-text"><br>
Oleg.<br>
--<br>
Oleg Broytman <a href="http://phdru.name/" rel="noreferrer" target="_blank">http://phdru.name/</a> <a href="mailto:phd@phdru.name">phd@phdru.name</a><br>
Programmers don't die, they just GOSUB without RETURN.<br>
______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/<wbr>codeofconduct/</a><br>
</div></blockquote></div><br></div></div><div class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto">But if shutil.copytree would be able to overwrite, it would be good, and simetimes enough. And I think it is not too difficult to implement ;-)</div></div>