![]() |
#1 | |
Junior Member
![]() ![]() Posts: 7
Karma: 180
Join Date: Jan 2011
Device: none
|
Multiple conversion of files in .bat with calibre?
Hallo,
I study Workflow Administration and I got an assignment with my group to automate pdf and/or other formats to epub/mobi fomats and automate it on our server. The thing is that we never learned to script so we dont even have a basic knowledge of the scripts that could help us. ![]() Quote:
If so could you tell me what I should do or atleast help me to find a way to learn how to do it? with kind regards, Konrad T. |
|
![]() |
![]() |
![]() |
#2 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I've had some success with a construct like this:
Code:
for %%i in (*.pdf) do start /wait ebook-convert %i %i.pdf |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() ![]() Posts: 7
Karma: 180
Join Date: Jan 2011
Device: none
|
@dwanthny: Yes, thank you. im looking into RexExes already
![]() @Manichean: Thanks ill try it in a sec ![]() Last edited by kombinerka; 01-27-2011 at 04:30 AM. |
![]() |
![]() |
![]() |
#5 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Is this for output equal ePub?
Last edited by Manichean; 01-27-2011 at 04:48 AM. Reason: (Sorry, hit the wrong button) |
![]() |
![]() |
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
![]() |
![]() |
![]() |
#7 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I was really referring more to the first paragraph.
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() ![]() Posts: 7
Karma: 180
Join Date: Jan 2011
Device: none
|
hmmm which format would you recommend instead of pdf?
and when I run that script I get the help msg back from Kovid instead of converted files back. |
![]() |
![]() |
![]() |
#9 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
If you have control over the original files then saving those html or if using MS Word saving them as html filtered or web page filtered would be best. The filtered html will convert well to epubs.
What is the source of these files? If they start as doc files this thread explains how to do batch conversions from doc files to epubs with free tools. Specifically check out posts 23, 49 and 56. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() ![]() Posts: 7
Karma: 180
Join Date: Jan 2011
Device: none
|
unfortunately about a 1/3 of them (more than 1thousand files total) is in .pdf format the rest is in .doc/.docx
and thanks for the links ![]() ![]() |
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
DOC/DOCX is not supported. If you get an error message, paste that in here. That makes it way easier for us to see what's wrong...
Is the batch file working at all (are the conversions starting?)? |
![]() |
![]() |
![]() |
#12 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
![]() |
![]() |
![]() |
#14 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#15 | |
Junior Member
![]() ![]() Posts: 7
Karma: 180
Join Date: Jan 2011
Device: none
|
hallo again and sorry for the late answer ;p
so when I execute this command Quote:
![]() didnt try the .doc/.docx yet because ive lent out my hd with server out for today |
|
![]() |
![]() |
![]() |
Tags |
calibre pdf epub |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] calibre not creating content.opf or toc.ncx files during conversion | foxxywith2xs | Calibre | 7 | 12-16-2012 07:49 PM |
[Old Thread] Calibre Command line and .bat file | stratman | Calibre | 15 | 01-10-2012 05:38 PM |
Multiple Calibre Files? | Sydney's Mom | Calibre | 21 | 05-02-2010 10:42 AM |
Epub To RB Conversion Problem - Files From Both Calibre and Nuevomedia | Brandon202000 | Calibre | 2 | 03-25-2010 12:42 PM |
Epub To RB Conversion Problem - Files From Both Calibre and Nuevomedia | Brandon202000 | Calibre | 0 | 01-15-2010 02:39 PM |