Spotlight | Reviews | Current Issue | Newsletter | Subscribe | Contact |
Departments

user friendly

Admin Magazine

Subscribe now and save!

ADMIN - Explore the new world of system administration! Special introductory offer! Order by September 30th to save 10% off the regular subscription price! Each issue delivers technical solutions to the real-world problems you face every day. Learn the latest techniques for better:

  • network security
  • system management
  • troubleshooting
  • performance tuning
  • virtualization
  • cloud computing

on Windows, Linux, Solaris, and popular varieties of Unix.

http://www.admin-magazine.com/

  linuxpromagazine.com » Online » Blogs » Productivity Sauce:... » Connect Your Favorite Text Editor to Google Docs Using GoogleCL  

Productivity Sauce: Dmitri's open source blend of productive computing
Productivity Sauce: Dmitri's open source blend of productive computing

Connect Your Favorite Text Editor to Google Docs Using GoogleCL

You can put Google's command-line tools (GoogleCL) to all kinds of clever uses from publishing blog posts to accessing and editing Google Docs documents using your favorite text editor. The latter can come in handy if you want to quickly modify the existing document, bypassing Google Docs' interface and the browser altogether.

To make GoogleCL work its magic, you have to install it on your machine. First off, grab the latest version of Google Data from the project's Web site and install it using the following commands:

tar xvfz gdata-x-x-xx.tar.gz
cd gdata-x-x-xx/
sudo python setup.py install

Download then GoogleCL, and install it as follows:

tar xvfz googlecl-x-x-xx.tar.gz
cd googlecl-x-x-xx/
sudo python setup.py install

To open an existing document in Gedit, use the following command:

google docs edit --title "Document Title" --editor gedit

This opens the specified document, and you can edit it to your heart's content. But what if you don't remember the exact name of the document you want to open? No problem. Run the google docs list title command which lists all documents stored in Google Docs.

Comments

Does not save changes

larryni Jun 29, 2010 5:10pm GMT

You're better off using a cli editor like vi or nano. Using gedit does not automatically upload the changed file after saving. At least not for me ;o)

Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2010 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux Technical Review] [ADMIN-Magazin]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland]
International: [Admin Magazine] [Ubuntu User] [Linux Magazine Brazil] [EasyLinux Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]