Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2022, 04:04 PM   #1
codefusion
Junior Member
codefusion began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2022
Device: none
Question Possible to export each chapter to individual files?

Greetings all,

Is there anyway to export chapters to individual .txt or .doc files automatically?
I see there is a way to convert the book for .txt or .doc etc.. but I'm needing to extract each chapter to a file for a project I'm working on.

My input format is .mobi

Thank you for any thoughts or ideas
codefusion is offline   Reply With Quote
Old 03-26-2022, 05:49 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: 40,579
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by codefusion View Post
Greetings all,

Is there anyway to export chapters to individual .txt or .doc files automatically?
I see there is a way to convert the book for .txt or .doc etc.. but I'm needing to extract each chapter to a file for a project I'm working on.

My input format is .mobi
As far as I recall, exporting to .txt or .docx and then splitting the file in your work processor is likely to be the easiest method. You could convert the mobi to epub and then split the epub using the epubsplit plugin and then converting the mass of epubs produced to .docx but since you have to manually select the split points in either case, the first method is likely to be easier.
DNSB is offline   Reply With Quote
Old 03-26-2022, 07:23 PM   #3
codefusion
Junior Member
codefusion began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2022
Device: none
Thank you, I forgot to mention I'm needing to extract hundreds of chapters into separate files.

I don't know of a way to automate that in a word processor. If there is a way I'd be open to it or if there are any other ways to do this.
codefusion is offline   Reply With Quote
Old 03-26-2022, 10:33 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by codefusion View Post
Greetings all,

Is there anyway to export chapters to individual .txt or .doc files automatically?
I see there is a way to convert the book for .txt or .doc etc.. but I'm needing to extract each chapter to a file for a project I'm working on.

My input format is .mobi

Thank you for any thoughts or ideas
Quote:
Originally Posted by codefusion View Post
Thank you, I forgot to mention I'm needing to extract hundreds of chapters into separate files.
I would convert to .txt and use a command line text editing tool(s), which can be incorporated into a script.

Best Text Editors for Linux Command Line

Some of those (e.g Vim and Emacs) are available on Windows.

BR

Last edited by BetterRed; 03-26-2022 at 10:58 PM.
BetterRed is offline   Reply With Quote
Old 03-26-2022, 10:49 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,451
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
IF it was HTML you could deal with:
Simply create an EPUB with chapter per file split
Then use the Unpack tool (at the library level) All the pieces are there. Be sure to have named the section files to know the order
theducks is offline   Reply With Quote
Reply

Tags
chapters, convert, export, export chapters to files, files


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre highlight markdown export chapter title inclusion HoboReader Calibre 20 10-30-2023 10:00 PM
Chapter Title for Highlight Export Thirteen OBD Viewer 12 02-01-2022 07:00 PM
Problem with setting "Beautify individual files automatically when they are opened"? Capricorn Editor 3 03-17-2020 08:40 AM
Export whole chapter (complete text) with highlights? Fralippo Marvin 2 10-24-2016 08:11 PM
Calibre and conflict of individual books OPF files Josieb1 Calibre 13 06-09-2016 12:17 AM


All times are GMT -4. The time now is 03:09 AM.


MobileRead.com is a privately owned, operated and funded community.