View Single Post
Old 01-15-2021, 08:07 PM   #6
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,242
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by DNSB View Post
To you it may be unnecessary. To the operating system, having two files with the same name in the same directory is going to be an issue so renaming a file to the name of an existing file in the same directory is not going to fly.
About the existence of another file with the same name in the same directory, you are absolutely right. The code I proposed would not work, because of that.

Now, about the original question, I think you've got me wrong. What I was suggesting is that calibre could handle this, instead of the user having to do it manually, renaming twice. As I said on my last reply, I don't think the user would rename it accidentally, so calibre could aloud it.
thiago.eec is offline   Reply With Quote