Thread: console copy
View Single Post
Old 10-23-2008, 11:07 PM   #1
JeffElkins
PRSCustomizer
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: 773
Karma: 1416
Join Date: Jan 2008
Device: PRS 505 Blue/iPod Touch/Epic 4G/Nook Classic
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