Slashdot Mirror


Google Introduces Command-Line Tool For Linux

Lomegor writes "'Ever wanted to upload a folder full of photos to Picasa from a command prompt?' Google introduced today a new project, Google CL, that lets you do that and much more. It's a new command line tool for Linux that acts as an interface with Google services; you can upload videos to YouTube or maybe post a new blog post in Blogger in just one line."

14 of 210 comments (clear)

  1. yes, but... by gandhi_2 · · Score: 2, Insightful

    ...does it run anything besides linux?

    a tool like this would rule for any platform.

    i guess you could just roll your own python script or something.

    1. Re:yes, but... by WrongSizeGlass · · Score: 2, Insightful

      ...does it run anything besides linux?

      Is there something people want to run besides Linux?

    2. Re:yes, but... by Anonymous Coward · · Score: 0, Insightful

      but what is this "Windows" you keep referring to ?

    3. Re:yes, but... by SwedishPenguin · · Score: 4, Insightful

      Well apparently it's just a python script, so it is available for Windows. Though the last time I tried to use python from the CLI (what little there is) in Windows was a really big hassle, and I ended up just going for an unofficial prepackaged installer for that particular application which bundled Cygwin.

    4. Re:yes, but... by obarthelemy · · Score: 5, Insightful
      --
      The Cloud - because you don't care if your apps and data are up in the air.
    5. Re:yes, but... by LambdaWolf · · Score: 2, Insightful

      ...does it run anything besides linux?

      Is there something people want to run besides Linux?

      And is anyone unable to run Linux?

      No, seriously. Install VirtualBox on your Windows system or whatever, throw Xubuntu on a virtual machine, do whatever you want. The software doesn't cost a dime, you can do it with the hardware you have, and it's not even that difficult for a person of moderate geekiness. Okay, so it takes a lot of hard drive space, but gone are the days when you need to go drop a few hundred dollars on another computer or futz around with dual-booting and accidentally trash your MBR if you want a Linux system in addition to your current setup.

      --
      "This algorithm runs in constant time. Come on, 2,147,483,648 is a constant..."
    6. Re:yes, but... by h4rr4r · · Score: 4, Insightful

      You said good. Lack of bash = not good.

    7. Re:yes, but... by iserlohn · · Score: 3, Insightful

      Yeah, but Powershell is to shells like Esperanto is to languages.

    8. Re:yes, but... by sandoval88419 · · Score: 2, Insightful

      I don't understand how do you get your mod points for such misleading advertisement. Power shell proves ms is really far from mastering the concepts that make an efficient CLI.

  2. Re:namespacing by Lord+Bitman · · Score: 5, Insightful

    organized into separate modules, but called as "google subcommand" so that you can still have a command called "picassa" and "blogger" and "search"... sounds good to me.

    "do one thing, do it well" doesn't mean "make a thousand poorly-named tools and clutter /usr/bin"

    "google foo" does one thing, does it well.
    "google bar" does one thing, does it well.
    "google" does one thing, does it well (passes commands to a dispatcher)

    you're basically complaining about seeing a space where you pointlessly want a hyphen.

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
  3. Re:Thank you! by garcia · · Score: 2, Insightful

    Err I was concerned they wouldn't work when Google switched to the full on new version. I need a beer.

  4. Re:Not just for Linux by dotgain · · Score: 2, Insightful

    Every platform except the closed ones that don't allow you to run an interpreter, of course.

    So, basically it runs on everything except the ZX81 and the iPhone

  5. Re:Not just for Linux by defaria · · Score: 2, Insightful

    Just not so. You can write unportable python just as you can with any language. Step one, code in an assumption that is only present on the current platform, e.g. make a call to execute a command such as, say, diff(1) which exists on Linux but not on Windows. Or use a Windows only style pathname (e.g. C:\Windows\Temp) or even rely on functionality that one very similar architecture has but the other doesn't (e.g. execute an ll command, which only works on HP-UX, or a ps command which has different options on different OSes or say an ls --auto=color on Solaris). Just because the language exists on an architecture does not mean that you cannot foolishly doing something in that language that is architecturally dependent on a specific architecture, thus rending your script non-portable and non-operational on other architectures.

  6. Re:sudo by catmistake · · Score: 2, Insightful

    cut-rate '70's era NASA space station

    Make a joke, fine, make a point, even better, but you should be old enough to remember SkyLab kicked ass, you insensitive clod!