Skip to content

A utility to convert Google Documents to physical files

License

Notifications You must be signed in to change notification settings

hazimavdal/gpurge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPurge

This is a utility that converts Google Documents, Sheets, etc. to physical files. gpurge can search in a local folder (typically a fully-synced Google Drive folder) recursively and convert all .godc and gsheet files to .docx and xlsx, respectively.

Prerequisites

pip3 install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
  • Turn on Drive API. Save the credentials.json file as creds/client_id.json in the same folder as the gpurge.py file.

Usage

Run ./gpurge.py -h.

Google Docs are great, why convert to MS Word?

Here are some scenarios that make sense to do this:

  • You want to archive your files and guarantee that you have access to their content 20 years from now. Google killed a great many products in the past, and it is not unlikely that they will discontinue Google Docs at some point in the future.

  • Be able to perform bulk operations on these documents locally, such as searching.

  • You need to port your files to another system. How many applications out there can process .gdoc files, other than Google Docs?

Releases

No releases published

Packages

No packages published

Languages