View Single Post
Old 01-14-2021, 03:28 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,648
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by thiago.eec View Post
Hi Kovid,

When renaming multiple files on the Editor, it throws an error if some of the files has the same name as before. Can't calibre just ignore this?

Example:

Original:
Code:
file001.html
file003.html
file003a.html
file004.html
file008.hmtl
After renaming:
Code:
file001.html
file002.html
file003.html
file004.html
file005.hmtl
The 4th file has the same name before and after, which causes calibre not renaming any file.
I tend to do a bulk rename in two steps. Using your file names, I would rename them to refilexxx.html and then to filexxx.html. This avoids the probability of ending up with files named out of order.
Code:
file001.html
file002.html
file004.html
file003.html
file005.html
file006.hmtl
DNSB is offline   Reply With Quote