用Linux命令行玩Google服务 GoogleCL项目启动

系统 Linux
Google在Google Code上发布了新命令行工具GoogleCL,这个工具可以让用户通过Linux命令行操纵Blogger、Picasa、Google Docs等多种Google服务。有了这个工具,以后就可以通过一个命令行提示符将一个文件夹内的所有照片上传到Picasa了。

想通过一个命令行提示符将一个文件夹内的所有照片上传到Picasa?现在你可以用GoogleCL了。

Google宣布了新命令行工具GoogleCL,允许用户通过命令行操控Google服务,比如输入一行命令将一篇文章贴到Blogger,或者将视频上传到YouTube,将照片上传到Picasa,为Calendar添加新活动日程,甚至在Google Docs上编辑文档。

GoogleCL工具主要是面向Linux用户,Mac和Windows用户也可以用,不过要费些周折,用户需要有Python 2.5 或2.6,Windows用户还需要Cygwin。

以下是针对各Google服务的相关Linux命令:

Blogger:发布文章到Google博客

$ google blogger post --title "foo" "command line posting"

Calendar:添加事件到Google日历

$ google calendar add "Lunch with Jim at noon tomorrow"

Contacts:导入Google联系人

$ google contacts list name,email > contacts.csv

Docs:编辑Google文档

$ google docs edit --title "Shopping list"

Picasa:上传照片并管理相册

$ google picasa create --album "Cat Photos" ~/photos/cats/*.jpg

Youtube:上传视频

$ google youtube post --category Education killer_robots.avi

相关命令使用范例可参考项目官方介绍:

http://code.google.com/p/googlecl/wiki/ExampleScripts

【编辑推荐】

  1. 速查手册:常用Linux命令索引
  2. GRUB启动命令详解分类
  3. 系统管理员必须熟记的几个Linux命令

 

责任编辑:yangsai 来源: Solidot
相关推荐

2018-02-10 17:30:41

Linux命令

2022-02-08 13:24:49

LinuxLinux命令

2022-02-08 17:19:05

Linux命令grep

2023-04-18 17:11:43

命令Linux

2009-08-07 18:42:09

2017-11-27 12:24:02

命令行代码指令

2023-03-01 11:35:45

2010-09-01 14:23:54

Linux命令行开发

2009-12-24 14:51:39

Linux命令行

2022-06-29 07:38:28

Linux命令

2009-12-23 14:14:09

Linux高级命令行

2009-12-09 09:25:52

Linux命令行svn命令

2013-01-29 14:08:58

UbuntuUbuntu手机Ubuntu手机操作系

2019-12-24 14:14:52

Google命令库开源

2018-05-04 09:15:35

PythonPlumbum命令行

2016-03-28 10:00:09

Swift命令程序

2011-07-11 13:20:13

linuxuniq

2017-08-29 15:15:40

Linux命令公网IP

2019-12-09 09:23:04

Linux命令sort

2010-09-03 09:18:23

LinuxUNIX命令行
点赞
收藏

51CTO技术栈公众号