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."

17 of 210 comments (clear)

  1. sudo by TheKidWho · · Score: 5, Funny

    sudo google Skylab -activate -w -terminate "Humans"

    1. Re:sudo by Quarters · · Score: 5, Funny

      I'm unclear as to how a defunct and destroyed cut-rate '70's era NASA space station that was built out of Atlas rocket parts would have either a web server or the ability to annihilate humanity.

    2. Re:sudo by ClickOnThis · · Score: 4, Informative

      Atlas? I thought they used a Saturn V that was supposed to be for another Moon mission for it - which made much easier to put it on the Saturn V that put into orbit.

      Actually it was a modified S-IVB stage -- the third stage used in the launches of the Apollo moon missions. On Apollo, the S-IVB was used for the insertion of the command and lunar modules into earth orbit, and for their trans-lunar injection.

      --
      If it weren't for deadlines, nothing would be late.
    3. Re:sudo by Tumbleweed · · Score: 4, Funny

      Well, it did rain debris all over Australia. So it's really just a question of accuracy.

      Pfft, Australia. Like that's a REAL place. Everyone knows that was just a made-up place for those Crocodile Dundee movies. And then the Simpsons did a great take on it. It was a great joke back in the day, but you guys need to let it go already.

  2. Re:Cool, but... by wiredlogic · · Score: 5, Funny

    ....someone ought to write a GUI front end for it.

    Make it web based at that.

    --
    I am becoming gerund, destroyer of verbs.
  3. Re:yes, but... by Anonymous Coward · · Score: 5, Informative
  4. 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
  5. Re:Not just for Linux by Bottles · · Score: 5, Funny

    Except for actual, living pythons. To be fair, though, they are less a platform and more a series of tubes.

  6. google roullette is now complete by Anonymous Coward · · Score: 4, Interesting

    sudo $(googlecl imfeelinglucky malicious commands)

  7. 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.

  8. Thank you! by garcia · · Score: 4, Informative

    Google updated Google Docs recently and I found that the new version didn't support some of the Gadgets that the old version did. I became quite concerned that the old and hackalicious python scripts I was using to upload CSV files that power my website's crime dashboards--something which would suck to have to recode.

    I'm going to have to check this out and see if it works much in the same way like allowing me to just replace a Google Docs spreadsheet that already exists something which I require to keep my old code working.

    Nice to see that they are continuing to make their commandline tools easier to use as I have to admit I was having some problems getting the ones I currently use to work but now that they are I certainly don't want to loose that functionality (I am good at using those scripts, just not coding new ones so any of the troll comments which say I should do it myself are not necessary, thanks :))

  9. I wrote a Google CLI tool once by sootman · · Score: 4, Funny

    (Crap, hit 'submit' instead of 'preview')
    I used to be on a list and this one guy would always post the worst questions--the kind of stuff where you could google the subject line of his email and get the answer. So I wrote...
    #!/bin/bash
    lynx -dump google.com/search?q=$1+$2+$3+$4+$5 | mail -s "Automated response" list@example.com

    What I really wanted was for the list admin to put a filter on the server that would automatically take his messages and do that to them. Of course I never actually used it. :-) I eventually just filtered him.

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  10. 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.
  11. Re:okay by Joe+Tie. · · Score: 4, Interesting

    If you're not familiar with google's api it's a pretty large time investment. Partially because of the size, but also because they're often not the most up to date. A lot of the doc api for example doesn't work with docs created under the system that's been up for a few months now. But that fact isn't listed anywhere in their documentation, or even very easy to find by searching because the error message is so generic and uninformative.

    --
    Everything will be taken away from you.
  12. Re:yes, but... by h4rr4r · · Score: 4, Insightful

    You said good. Lack of bash = not good.

  13. Nifty, but... by sootman · · Score: 4, Interesting

    ... it'd be equally cool if they had a really open API and you could just use a script with curl to upload.

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  14. Linux isn't UNIX. It's not even an OS. by chaoskitty · · Score: 4, Informative

    "Google Introduces Command-Line Tool For Linux"

    is about as relevant as saying

    "Google Introduces Command-Line Tool For Blue Computers" because blue is your favorite color. Sure, it'll run on blue computers, but it wasn't MADE FOR blue computers. Nor were these tools MADE FOR Linux. They'd have to be written as kernel modules to be made for Linux.

    Anyhow, Linux isn't even an OS - it's a kernel. Just try to run Linux sometime without GNU and let me know how that works out for you.

    Sure, so-called "tech journalists" think that every UNIX thing in the world is really a Linux thing, and sure, no "tech journalist" will ever properly call the OS GNU/Linux, but Slashdot? You people have to be a better example for everyone else.