Recovering deleted files
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Thu Dec 26 17:37:48 EST 2013
Dennis Lee Bieber wrote:
> If I read the documents properly, shutil.move() does not just blindly
> delete files (it does a copy/delete if crossing file systems, otherwise it
> just does a rename).
What difference does that make? Regardless of whether you do a copy/delete
or rename, whatever file was overridden by the move is still overridden.
--
Steven
More information about the Python-list
mailing list