nooB <[email protected]> added the comment:
Sorry, for the wrong info. The issues exists only for folder renaming in
windows.
try this,
>> import os, shutil
>> os.mkdir('test')
>> shutil.move('test', 'TEST')
poof. The folder is gone.
Shouldn't the path case be checked for file operations?
----------
title: Shutil.move deletes file/folder in windows while renaming -> Folders get
deleted when trying to change case with shutil.move (Windows)
versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.3
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10684>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com