Thread: console copy
View Single Post
Old 10-23-2008, 11:07 PM   #1
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 779
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
console copy

Kovid, I'd like to see if I can do a command-line 'copy to device.' Something like:

$ copy2device /books/author/mybook.epub

where the console program mimics the actions of the calibre gui. I'm just now reading code, so I ask, is this doable? What calibre python program(s) do I need to study? I'm assuming that book collection data is stored in an xml file?

My python knowledge is intermediate, I've worked with sqlite3 also.
JeffElkins is offline   Reply With Quote