View Single Post
Old 01-18-2024, 01:52 PM   #68
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,106
Karma: 1954138
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by Zillion_ View Post
(I use actions to add/import files such as standard Titles etc. in my book, but have problems when same-name files already exist.
I cannot always overwrite them -- e.g., if I import "Title.html" and a "title.html" already exists, it won't overwrite it, even if the "overwrite" option is selected. In that case I must first use "delete files" to remove Title.html and title.html.
Overwrite does work correctly if the existing file is also called Title.html).
epub files are case sensitive so that is the natural behavior because these are two different names.

Quote:
Originally Posted by Zillion_ View Post
Would it be possible to add a Rename File(s) action for Editor Chains ?

I'd like to be able to e.g. rename "title.html" to "title_old.html" before importing. I also frequently rename files e.g. ".*?c\d+.(x*)html" to "Book-\1.xhtml). Would be nice if there was a Rename files action (with the usual Regex etc. to select files).
And, additionally, to have something like the "Bulk Rename" feature which offers automatic numbering of multiple files being renamed...

If ever you have the time & feel like doing this... :-) thanks
I've said already that I have plans to write a bulk-rename plugin that can be used from within Editor Chains. It should support regex, numbering, case change ... etc. But this will not be coming anytime soon.
capink is offline   Reply With Quote