Even that wont work. What will happen in that when calibre asks the OS to rename foo/image to Images/img, if the images folder already exists, the OS will rename it to images/image instead of Images/image. The only way to make it work is for calibre to check the actual path created by the os for every rename operation and then either:
1) Rename the folders in the path explicitly, individually, and then change the links to all files in the renamed folders
2) Alternately detect that there is a case mismatch on renaming the file and change the links for just that file to use the existing filesystem case.
|