Download, back up, and upload Google Docs files

Aug 26, '09 07:30:03AM

Contributed by: bluehz

You can download, back up, and upload documents from your Google Docs account using a little Terminal magic. Prerequisites:

  1. gdata-python-client 2.0.1 - download page
  2. gdatacopier 1.0.2 - download page
Installation:
  1. Download the prerequisites. Decompress each of the downloads.
  2. Install gdata-python-client:
    $ cd gdata-2.0.1<br>
    $ sudo python setup.py install
Patch:

The current gdatacopier download has a small bug in it, and it needs to be patched to work properly. Open the file gdatacopier.py in the app's folder, and locate line 555. On that line, change this...
item_list.append({'title': entry.title.text.encode('UTF-8'),
...to this...
item_list.append({'title': entry.title.text,
Save the file and quit the editor.

Usage:

By default, gdatacopier will download your spreadsheets and text documents in the OpenOffice format (.ods and .odt, respectively). TextEdit does a pretty good job of opening the text (.odt) documents, but I was unable to find anything free that could open the spreadsheet (.ods) documents, so you may want to specify a specific format when downloading your documents.

Variables

Examples: Notes: [robg adds: I haven't tested this one.]

Comments (2)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20090818101546358