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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-03-2012, 02:22 PM   #1
jorm
Member
jorm began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2012
Device: nook
How to use the command line to move books

I want to build a tool that based on publisher, author or field in the description will move the book from one library to another. Makes sorting easier can apply rules.

For example the publisher Tor only publishes SciFi/Fantasy so I can move the book accordingly. Also if a book has the word fantasy or elves or magic I can label it fantasy and move it accordingly.

Two things i need to figure out if anyone can answer them it would be helpful.

1. I see using calibredb add is a way to add a book to a library. I notice that it has no option for the to use metadata.opf file. Does this command only pull the meta from the tag of the book. My issue with this is lets say i am moving a rar format file that has no metadata. However the data is in calibre main database and in the opf file.

Logically I am trying to do an equivalent of the following if that kind of command existed.

calibredb copy/move <id> <c:\ebooks\newlib>


2. Is there a way to get the list of libraries name and paths?

That way I can avoid a second configuration. This is not a show stopper just would be helpful.
jorm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy/Move books between libraries using command line tools jameszh Library Management 3 02-15-2011 09:02 AM
<Command Line> Add multiple books in multiple formats himitsu Calibre 8 09-25-2010 11:07 PM
adding books via command line in msdos batch FlaKate Calibre 1 12-25-2009 01:12 AM
Adding books from the command line edembowski Calibre 1 08-29-2009 11:18 AM
impmake: automated creation of IMP books via the command line ashkulz IMP 25 08-31-2008 03:15 PM


All times are GMT -4. The time now is 08:35 PM.


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