|06-02-2014, 05:06 PM||#1|
Join Date: Oct 2013
Device: Kindle Paperwhite
Fix for Google Drive paths and Calibre
Google Drive keeps breaking Calibre's paths due to its parentheses fussiness.
I've written a Python script here
which fixes the paths that Google Drive breaks. It should work as long as you have Python 2.5+.
I've only tested this on Ubuntu 14.04 with Python 2.7. If this works/doesn't work for you in other OSes please leave feedback or fixes.
See the README on github for info and instructions.
I am aware of this thread, however that is a .NET solution and I don't have .NET/Windows. I'm using a similar script as part of my initial machine setup script for automation.
Last edited by mendhak; 06-02-2014 at 05:10 PM.
|11-17-2014, 07:37 AM||#3|
Join Date: Jun 2012
Location: UTC +1
Just I have tested compatibility of Google Drive and Calibre - found it works (now). Maybe I do not quite understand the whole issue or Google has changed something.
I uploaded individual files (single books) or entire folders (e.g. total author collections) to Drive, then deleted these on my laptop (not just from caliber away) and downloaded them from Drive back. The files/folders come .zip compressed and you have to unpack them.
This all works very quickly an easily, after adding to caliber you may read, edit book and metadata etc. as usual.
Please check by yourself and possibly edit the Warning sticky post.
Last edited by chaot; 11-17-2014 at 07:55 AM.
|11-17-2014, 08:01 AM||#4|
US Navy, Retired
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
|11-17-2014, 11:29 AM||#5|
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|02-08-2015, 12:49 PM||#6|
Join Date: Oct 2010
Location: St. John's, Newfounland
Device: Sony PRS-650
Update for the linux folk.
I've been testing out the command line Drive client (written by a google drive developer). Seems to be working well.
What I've tested:
-Created a "~/gDrive" directory, changed into it and did a "drive init"
-Copied "calibre" library directory into "~/gDrive" directory
-Then did a "drive push calibre" inside the "~/gDrive" directory. "calibre" folder and sub-folders successfully uploaded to Google Drive with no apparent mangling of directory names with parenthesis.
-Opened calibre, switched to using "~/gDrive/calibre" copy as my library. Deleted a bunch of books.
-Closed calibre and inside the "~/gDrive" directory did a "drive pull calibre". Deleted directories and files were restored from Google Drive copy.
-Opened calibre and the restored files were back in the database and accessible.
So far so good.
|02-08-2015, 12:53 PM||#7|
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Expect it to break at some point with zero warning.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Solution to Calibre in Google Drive||Mattes||Related Tools||10||06-02-2014 05:13 PM|
|WARNING - Google Drive Incompatible with Calibre!||DoctorOhh||Related Tools||0||02-12-2013 01:59 AM|
|Google Drive Incompatable with Calibre!||Yack||Related Tools||10||02-02-2013 05:37 AM|
|[Google Drive Warning] Issue migrating Calibre Library to a different computer||cptnemo||Related Tools||7||01-22-2013 12:03 AM|
|[Google Drive Warning] Trouble moving/combining Calibre libraries||vermontcathy||Related Tools||4||11-24-2012 08:37 AM|