![]() Finally, if output_file has no extension, then it is treated as a folder and an “open e-book” (OEB) consisting of HTML files is written to that folder. ![]() Note that the filenames must not start with a hyphen. In this case, the name of the output file is derived from the name of the input file. EXT where EXT is the output file extension. ![]() output_file can also be of the special format. The output e-book format is guessed from the file extension of output_file. Both must be specified as the first two arguments to the command. Input_file is the input and output_file is the output. Ebook-convert input_file output_file Ĭonvert an e-book from one format to another. connected_device and 'ondevice' in fields : fields. join ( sorted ( list ( all_fields ))))) raise ValueError ( "unable to generate catalog with specified fields" ) fields = else : fields = sorted ( all_fields, key = self. join ( invalid_fields )) print ( "available fields in ' %s ': %s " % ( current_library_name (), ', '. union ( all_custom_fields ) if getattr ( opts, 'fields', 'all' ) != 'all' : # Make a list from opts.fields of = requested_fields = set ( of ) # Validate requested_fields if requested_fields - all_fields : from calibre.library import current_library_name invalid_fields = sorted ( list ( requested_fields - all_fields )) print ( "invalid -fields specified: %s " % ', '. add ( field + '_index' ) all_fields = all_std_fields. field_metadata if fm = 'series' : all_custom_fields. custom_field_keys ()) for field in list ( all_custom_fields ): fm = db. Class Plugin : # all_custom_fields = set ( db.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |