Ben Sizer
2007-06-21 11:05:39 UTC
On 20 Jun, 11:40, Justin Ezequiel <justin.mailingli... at gmail.com>
Nothing in the source would make it exit if a target file exists.
(Unless perhaps you have sym-links or the like.)
I have 2.5, and I believe the behaviour I saw was that it exits if a
directory already exists and it skips any files that already exist. It
certainly wouldn't overwrite anything.
--
Ben Sizer
I need to copy directories from one place to another, but it needs to
overwrite individual files and directories rather than just exiting if
a destination file already exists.
What version of Python do you have?overwrite individual files and directories rather than just exiting if
a destination file already exists.
Nothing in the source would make it exit if a target file exists.
(Unless perhaps you have sym-links or the like.)
directory already exists and it skips any files that already exist. It
certainly wouldn't overwrite anything.
--
Ben Sizer