{"id":16101523,"url":"https://github.com/mendhak/calibre-gdrive-fix","last_synced_at":"2026-07-18T09:36:11.525Z","repository":{"id":17584720,"uuid":"20388244","full_name":"mendhak/calibre-gdrive-fix","owner":"mendhak","description":"Script to fix broken Calibre paths caused by Google Drive","archived":false,"fork":false,"pushed_at":"2014-08-10T16:47:24.000Z","size":184,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T00:27:43.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mendhak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-01T22:51:49.000Z","updated_at":"2023-09-08T16:47:58.000Z","dependencies_parsed_at":"2022-09-08T11:12:19.257Z","dependency_job_id":null,"html_url":"https://github.com/mendhak/calibre-gdrive-fix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mendhak/calibre-gdrive-fix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fcalibre-gdrive-fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fcalibre-gdrive-fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fcalibre-gdrive-fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fcalibre-gdrive-fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendhak","download_url":"https://codeload.github.com/mendhak/calibre-gdrive-fix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendhak%2Fcalibre-gdrive-fix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35614490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T18:50:11.870Z","updated_at":"2026-07-18T09:36:11.508Z","avatar_url":"https://github.com/mendhak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Calibre Google Drive Fix\n==================\n\nRestores ebook directories with their Calibre IDs, originally removed by Google Drive. \n\n## The problem\n\nCalibre requires a specific directory structure that uses parentheses in the book's directory name, for example\n \n     The Martian (317)\n     \nGoogle Drive, however, has a [bug](https://productforums.google.com/forum/#!searchin/drive/rename/drive/XJzVGC868DQ%5B1-25-true%5D), it does not like parentheses in directory names, and so the above ends up in Google Drive as\n\n    The Martian\n    \nThe next time you sync your ebooks on a new machine, you don't get the parentheses back. \nCalibre will list your books nicely, but is unable to find the actual folder.\n\n## This script\n\nThis script fixes the problem by renaming the folders back to what Calibre expects. \n\nTo use it, \n\n    python gdrivefix.py\n    \nYou will be prompted to enter the path to your ebooks directory.  The script goes through and renames the directories to their numbered versions.\n\n## Notes\n\nYou would normally run this script once on each new install.  After that you don't need it.\n  \nJust in case, do make a backup of your ebooks directory before you run it.\n \nThis has only been tested on Ubuntu 14.04 with Python 2.7.  It should work as long as you have Python 2.x. \n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fcalibre-gdrive-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendhak%2Fcalibre-gdrive-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendhak%2Fcalibre-gdrive-fix/lists"}