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, 03: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, 04: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: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, 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, 06: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, 09: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: 20,575
Karma: 26954694
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 09:58 PM.
BetterRed is offline   Reply With Quote
Old 03-26-2022, 09: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: 29,809
Karma: 54830978
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 09:00 PM
Chapter Title for Highlight Export Thirteen OBD Viewer 12 02-01-2022 06:00 PM
Problem with setting "Beautify individual files automatically when they are opened"? Capricorn Editor 3 03-17-2020 07:40 AM
Export whole chapter (complete text) with highlights? Fralippo Marvin 2 10-24-2016 07:11 PM
Calibre and conflict of individual books OPF files Josieb1 Calibre 13 06-08-2016 11:17 PM


All times are GMT -4. The time now is 04:29 PM.


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