![]() |
#1 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jul 2012
Device: none
|
Help with command line
I use the command line in a program to convert ebooks. While I can get ONE option to work, I cannot seem to get any additional options to function, such as adding input and output profiles.
In the manual, these are described with double dashes followed by single dashes, with some commas thrown in for giggles. How about a complex command line that actually works. If I can SEE a working command line, I can program one like that, but I've spent HOURS trying variations, with few results. I am able to convert ebooks and create a debug folder, but at this point, I can't seem to add ANY other commands. And, while I'm at it, how in the HELL can I get it to stop splitting the files into separate files, when all I want is one big html file in the debug folder? Sometimes, I get a debug-raw.html file, which is what I want, but more often, I don't get that, but do get a folder full of html files. Thanks, John |
![]() |
![]() |
![]() |
#2 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Here is one example I found in calibre's user manual. Last edited by DoctorOhh; 07-22-2012 at 10:24 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Code:
--fields, -f The fields to display when listing books in the database. Should be a comma separated list of fields. Available fields: author_sort,authors,comments,cover,formats,identifiers,isbn,last_modified,pubdate,publisher,rating,series,series_index,size,tags,timestamp,title,uuid Default: title,authors. The special field “all” can be used to select all fields. Only has effect in the text output format. Code:
calibredb list -f author_sort,title,isbn,last_modified --sort-by series |
![]() |
![]() |
![]() |
#4 | |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jul 2012
Device: none
|
Quote:
I think the command line section should have several more examples, especially where all the default options are over-ridden by the command line. Again, thanks, this is what I needed, I just coudn't find it. John |
|
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Jul 2012
Device: none
|
Quote:
John |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
quote each argument value with spaces: "two words","three small words",word pretty much common CLI (MSDOS uses a colon after the switch that has values Code:
xcopy /EXCLUDE:file1[+file2][+file3] |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command line - HOW? | bookfanmd | Calibre | 19 | 01-12-2013 09:17 AM |
Need help using command line | tsger | Recipes | 2 | 07-16-2011 03:23 AM |
Where are the command line tools? | PaulChernoch | Calibre | 17 | 10-23-2009 12:08 PM |
Why use the command line? | slantybard | Calibre | 6 | 07-22-2009 12:17 PM |
Errors on Command Line | drnkusv | Calibre | 11 | 11-07-2008 02:59 PM |