Yes and that can be done in one easy step using Sigil's BookBrowser. Select all and right click on rename. When it asks for a pattern, just replace what is there with .xhtml
All selected files would be properly renamed to have the .xhtml extension. Then of course behind the scenes all of the links and references to the old names all throughout the epub are properly updated using concurrent threads.
It is this last step that makes this more than a bit of a pain to handle in a plugin. The actual renaming of the files is trivial. It is what comes next (ie finding and performing all the reference updates) that is hard. Simply duplicating all that fast C++ and C code in python is just not worth it IMHO.
|