Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-25-2013, 10:06 AM   #1
chemi
Member
chemi began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2013
Device: Sony Reader PRS-T2
Adding books from command line

Hi, I am trying to perform a bulk import from command line. I am trying to import logical books, I mean, without a real file existing (this is something I can do from the UI).

This is the test I am doing:

calibredb add -a Chemi -t Sample -e

but nothing is added or viewed in Calibre.

Any help?

Thanks in advance,

Chemi.
chemi is offline   Reply With Quote
Old 02-25-2013, 10:08 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,799
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by chemi View Post
Hi, I am trying to perform a bulk import from command line. I am trying to import logical books, I mean, without a real file existing (this is something I can do from the UI).

This is the test I am doing:

calibredb add -a Chemi -t Sample -e

but nothing is added or viewed in Calibre.

Any help?

Thanks in advance,

Chemi.
Try the Import List Plugin
Makes what you are trying a snap
theducks is offline   Reply With Quote
Advert
Old 02-25-2013, 11:16 AM   #3
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: 43,852
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You have to make sure you are referring to the same library as is open in the GUI. Use the --with-library parameter to calibredb
kovidgoyal is offline   Reply With Quote
Old 02-25-2013, 11:28 AM   #4
chemi
Member
chemi began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2013
Device: Sony Reader PRS-T2
Thanks, --library-path parameter did the trick.
I thought it should take the default if no parameter was used...

Chemi.
chemi is offline   Reply With Quote
Reply

Tags
command line, import books


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use the command line to move books jorm Development 0 04-03-2012 02:22 PM
Adding book from command line bdillahu Calibre 3 01-24-2012 11:19 AM
Command Line Batch Adding of Epubs nkormanik Calibre 6 10-19-2010 08:04 AM
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


All times are GMT -4. The time now is 01:23 AM.


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