Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2011, 11:30 PM   #1
fnardo
Junior Member
fnardo began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2011
Device: kindle2
Command-line conversion formats

Hi folks,

I am lovin using the command-line in Calibre.. faaast!

I am going through and 'cleaning up' lots of my books, and I have no problem using the 'find and replace' function in the gui, and have even mastered(?) regex. When I convert using the gui, I hit the wizard buttion and the original file is shown in html. I then go through and look for stuff to remove, change class attributes etc.

How can I do this in the command line? The GUI must do a 'partial' convert to show the file in the initial html, but I cant get it to do that with the command line. I have tried converting it to html, oeb, (no extention) and in each case it converts it to html, but with the calibre css tags (i.e. Calibre12, 16, etc). In most cases I have found that it is easier to find the stuff you need to replace in the html format presented by the wizard, particularly text documents etc... though I am not 100% sure where this formatting comes from in the first place. I can use the wizard to look at two different text files and they may have totally different style of html(?)

Any advice much appreciated.

Cheers,

Pete.
fnardo is offline   Reply With Quote
Old 09-01-2011, 11:46 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
--debug-pipeline
kovidgoyal is offline   Reply With Quote
 
Advertisement
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Command Line Conversion bmwr1200c Calibre 1 08-10-2011 08:04 PM
Bulk Command Line Conversion? blobbo Conversion 1 05-24-2011 06:32 AM
command-line only e-book conversion running Conversion 1 01-30-2011 09:09 AM
Command line conversion not working rockeh Calibre 1 08-24-2010 07:23 PM
command-line conversion tools in 0.6.0? WayneD Calibre 3 06-03-2009 02:30 PM


All times are GMT -4. The time now is 03:39 PM.


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