| 
			
			 | 
		#1 | 
| 
			
			
			
			 New old guy 
			
			![]() Posts: 69 
				Karma: 10 
				Join Date: Feb 2012 
				
				
				
				Device: kindle fire 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Breaking up a large epub file
			 
			
			
			I unfortunately have a humongus epub -- "The Complete Works of ..." -- consists of 12 books each with as much as 20 chapters with every chapter a separate html file.  I would like to create a number of those books into individual stand-alone epubs.  Does either Sigil or Calibre Epub editor have some way to select a set of html files and create an epub using those selected files?  Only way I have found that  works is so tedious: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	1. Use calibre to create an empty epub and open it in 7-Zip. 2. Open the master epub in 7-Zip and copy the selected html files into a folder. 3. Use the Sigil file import function to import the set of html files into the empty epub. 4. Copy the style sheets from the master epub into the new epub. 5. Copy the appropriate image files from the master into the new epub. Wish I could simply select the html files and right-click them into an epub. Anybody got a more efficient process?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Why not use the calibre plug-in [GUI Plugin] EpubSplit?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090 
				Karma: 447222 
				Join Date: Jan 2009 
				Location: Valley Forge, PA, USA 
				
				
				Device: Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			bit of a brute force approach, but to make sure that I got each file only where it belongs, I'd copy the master 12 times and just delete what I didn't want from each of the 12 copies 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Not very elegant but I use it because it helps prevent (careless) hard to track down mistakes  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129 
				Karma: 1135446 
				Join Date: Nov 2014 
				Location: Miami, Florida 
				
				
				Device: iBooks 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Open the ePub in Sigil.   
		
	
		
		
		
		
		
		
		
		
		
		
	
	Select and Delete the HTML files you don't want. Generate a new TOC SAVE AS the new ePub. Repeat.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 New old guy 
			
			![]() Posts: 69 
				Karma: 10 
				Join Date: Feb 2012 
				
				
				
				Device: kindle fire 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Why....?  Because I never heard of it. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	What an special piece of work. Will save me hours of tedious work. You guys are simply amazing in what you can do. Doesn't seem like a week goes by that I don't learn/find some new functionality. Now I have lots of hours to find out all about plug-ins.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 New old guy 
			
			![]() Posts: 69 
				Karma: 10 
				Join Date: Feb 2012 
				
				
				
				Device: kindle fire 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 New old guy 
			
			![]() Posts: 69 
				Karma: 10 
				Join Date: Feb 2012 
				
				
				
				Device: kindle fire 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 No Comment 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,240 
				Karma: 23878043 
				Join Date: Jan 2012 
				Location: Australia 
				
				
				Device: Kobo: Not just an eReader, it's an adventure! 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			If you are doing any reformatting of the text, you may find it easier to do so before you split the file. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	This only really works if the entire book is formatted the same. If it is a collection of previously formatted books (all formatted differently), then it is easier to split first. You can generally tell by the number of css files. If there is one, then the whole book usually formatted the same. If there is one per sub-book, then they are generally formatted differently.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Epub file far too large, advice? | CaptainTenacity | Sigil | 13 | 11-19-2013 03:27 PM | 
| Choose reader application per file - handling of very large epub files | Clark G. Flipper | Onyx Boox | 2 | 06-17-2012 08:34 AM | 
| Large File Conversion MOBI -> ePub Hangs at 67% | Snauzoo | Conversion | 3 | 06-07-2011 02:03 PM | 
| pdf to epub/breaking up images? | dhume01 | Calibre | 1 | 07-06-2010 09:51 PM | 
| JBL- Calibre ePub sometimes = "File too Large" Error | Ken Maltby | Ectaco jetBook | 13 | 01-09-2010 02:27 PM |