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

24 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 somersault · · Score: 3, Funny

      Me either, but this thing is burning up my village as we spe

      --
      which is totally what she said
    3. 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.
    4. 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. The Lesser Controlled by Rotworm · · Score: 3, Interesting

    I think this is an interesting juxtaposition. I lessly the fonder of Google services because too often it seems things are centralised with the various Google Services. What I liked about Linux was it's decentralisation, that control was distributed to whomever had the capacity and the will to partake.

    I don't suggest it's worthless that I can give content to Google from the command line, but that it seems to ideologically oppose one of the strengths of Linux. And artistic content is one area that is suffering from centralisation. Artistic content builds upon what came before it (I mention that because we're not all Lessig-educated), and copyright is increasingly centralising content to a small number of firms. Giving your content to Google isn't like giving your content to Disney, but it's submitting it to the control of a lessly interested party.

    1. Re:The Lesser Controlled by amRadioHed · · Score: 3, Informative

      What loss of control with Google services? If you want to store your stuff somewhere else it's usually fairly easy to do.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
  3. Nerd RAGE! by grasshoppa · · Score: 3, Funny

    A single tool to do EVERYTHING?

    It's like they don't even USE linux.

    --
    Mod me down with all of your hatred and your journey towards the dark side will be complete!
  4. 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.
  5. Re:yes, but... by Anonymous Coward · · Score: 5, Informative
  6. 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
  7. 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.

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

    sudo $(googlecl imfeelinglucky malicious commands)

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

  10. 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 :))

  11. 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.
  12. 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.
  13. 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.
  14. Re:sudo REWIND by Josh04 · · Score: 3, Funny

    I'm unclear as to how a defunct and destroyed cut-rate '70's era British Armed Forces Comms satellite that never made it out of geostationary orbit would have either a web server or the ability to annihilate humanity.

  15. Re:yes, but... by h4rr4r · · Score: 4, Insightful

    You said good. Lack of bash = not good.

  16. 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.
  17. Re:yes, but... by iserlohn · · Score: 3, Insightful

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

  18. Re:yes, but... by mjwx · · Score: 3, Informative

    If you think PS rips off Bash, then you haven't used one or the other. There are a bunch of things I *don't* like about PS (and actually I don't really use it, but I don't do sysadmin stuff either), but the object piping is awesome.

    You've just invalidated your own point. I'm normally a sarcastic bastard when people do this but I've just had breakfast so I'll go easy on you.

    I do use PS and BASH on a daily basis, I am a Linux and Exch 2007 sysadmin so I need to have an understanding of Powershell and BASH (PS is required for Exch 07). PS is trying to be a CLI for a GUI only environment the same as BASH is a CLI for a CLI environment. Both are meant to handle sysamin task and enable scripting. PS is trying to be BASH by centralising all admin and conf tasks, but PS fails because between different programs the syntax and commands are inconsistent and it's overly convoluted. Further more, PS is useless for MS SQL, realistically I only use PS to call SQLCMD.

    Also on Server2008, PS is not installed by default. This is a major screw up if you're really trying to introduce a CLI.

    I'm currently in the Philippines, breakfast here has a high chance of bricking in my digestive system.

    --
    Calling someone a "hater" only means you can not rationally rebut their argument.
  19. 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.